Export evrtsp_method()

This commit is contained in:
Julien BLACHE 2010-09-25 20:12:55 +02:00
parent d0e0700a13
commit 2d139d77a5
2 changed files with 3 additions and 1 deletions

View File

@ -161,6 +161,8 @@ int evrtsp_remove_header(struct evkeyvalq *, const char *);
int evrtsp_add_header(struct evkeyvalq *, const char *, const char *); int evrtsp_add_header(struct evkeyvalq *, const char *, const char *);
void evrtsp_clear_headers(struct evkeyvalq *); void evrtsp_clear_headers(struct evkeyvalq *);
const char *evrtsp_method(enum evrtsp_cmd_type type);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@ -241,7 +241,7 @@ strsep(char **s, const char *del)
} }
#endif #endif
static const char * const char *
evrtsp_method(enum evrtsp_cmd_type type) evrtsp_method(enum evrtsp_cmd_type type)
{ {
const char *method; const char *method;