1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-11-03 04:17:20 -05:00

Fix: Corrected usage of _mangle() for httpp_ at least

This commit is contained in:
Philipp Schafft 2019-05-27 13:54:00 +00:00
parent d20ca18692
commit 5de3e8b3b0

View File

@ -112,8 +112,12 @@ typedef struct http_parser_tag {
# define httpp_set_post_param _mangle(httpp_set_post_param) # define httpp_set_post_param _mangle(httpp_set_post_param)
# define httpp_get_post_param _mangle(httpp_get_post_param) # define httpp_get_post_param _mangle(httpp_get_post_param)
# define httpp_get_param _mangle(httpp_get_param) # define httpp_get_param _mangle(httpp_get_param)
# define httpp_destroy _mangle(httpp_destroy) # define httpp_release _mangle(httpp_release)
# define httpp_destroy _mangle(httpp_release)
# define httpp_addref _mangle(httpp_addref)
# define httpp_clear _mangle(httpp_clear) # define httpp_clear _mangle(httpp_clear)
#else
# define httpp_destroy(x) httpp_release((x))
#endif #endif
httpp_request_info_t httpp_request_info(httpp_request_type_e req); httpp_request_info_t httpp_request_info(httpp_request_type_e req);
@ -138,7 +142,6 @@ char ** httpp_get_any_key(http_parser_t *parser, httpp_ns_t ns);
void httpp_free_any_key(char **keys); void httpp_free_any_key(char **keys);
int httpp_addref(http_parser_t *parser); int httpp_addref(http_parser_t *parser);
int httpp_release(http_parser_t *parser); int httpp_release(http_parser_t *parser);
#define httpp_destroy(x) httpp_release((x))
/* util functions */ /* util functions */
httpp_request_type_e httpp_str_to_method(const char * method); httpp_request_type_e httpp_str_to_method(const char * method);