--- parser3/src/include/pa_common.h 2019/09/06 10:17:07 1.175 +++ parser3/src/include/pa_common.h 2019/11/13 22:05:48 1.177 @@ -8,7 +8,7 @@ #ifndef PA_COMMON_H #define PA_COMMON_H -#define IDENT_PA_COMMON_H "$Id: pa_common.h,v 1.175 2019/09/06 10:17:07 moko Exp $" +#define IDENT_PA_COMMON_H "$Id: pa_common.h,v 1.177 2019/11/13 22:05:48 moko Exp $" #include "pa_string.h" #include "pa_hash.h" @@ -39,8 +39,6 @@ class Request; #define HTTP_CONTENT_TYPE_MULTIPART_RELATED "multipart/related" #define HTTP_CONTENT_TYPE_MULTIPART_MIXED "multipart/mixed" -#define BASE64_STRICT_OPTION_NAME "strict" - const String content_disposition_filename_name(CONTENT_DISPOSITION_FILENAME_NAME); #define HASH_ORDER @@ -269,10 +267,6 @@ char *str_upper(const char *s, size_t he const char* hex_string(unsigned char* bytes, size_t size, bool upcase); extern const char* hex_digits; -void pa_base64_decode(const char *in, size_t in_size, char*& result, size_t& result_size, bool strict=false); -char* pa_base64_encode(const char *in, size_t in_size); -char* pa_base64_encode(const String& file_spec); - const char *pa_idna_encode(const char *in, Charset &source); const char *pa_idna_decode(const char *in, Charset &source);