--- parser3/src/include/pa_common.h 2023/09/26 20:49:07 1.192 +++ parser3/src/include/pa_common.h 2024/10/02 22:54:03 1.194 @@ -8,7 +8,7 @@ #ifndef PA_COMMON_H #define PA_COMMON_H -#define IDENT_PA_COMMON_H "$Id: pa_common.h,v 1.192 2023/09/26 20:49:07 moko Exp $" +#define IDENT_PA_COMMON_H "$Id: pa_common.h,v 1.194 2024/10/02 22:54:03 moko Exp $" #include "pa_string.h" #include "pa_hash.h" @@ -38,7 +38,7 @@ class Request; #define HTTP_CONTENT_TYPE_MULTIPART_RELATED "multipart/related" #define HTTP_CONTENT_TYPE_MULTIPART_MIXED "multipart/mixed" -const String content_disposition_filename_name(CONTENT_DISPOSITION_FILENAME_NAME); +extern const String content_disposition_filename_name; #define HASH_ORDER @@ -227,7 +227,7 @@ char *lsplit(char *string, char delim); char *lsplit(char **string_ref,char delim); char *rsplit(char *string, char delim); -const char* format(double value, const char *fmt); +const char* format_double(double value, const char *fmt); char* unescape_chars(const char* cp, int len, Charset* client_charset=0, bool js=false/*true==decode \uXXXX and don't convert '+' to space*/);