From 2d139d77a56317c150595981656d7671f99976a5 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 25 Sep 2010 20:12:55 +0200 Subject: [PATCH] Export evrtsp_method() --- src/evrtsp/evrtsp.h | 2 ++ src/evrtsp/rtsp.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/evrtsp/evrtsp.h b/src/evrtsp/evrtsp.h index 2c6b0471..8f6e330a 100644 --- a/src/evrtsp/evrtsp.h +++ b/src/evrtsp/evrtsp.h @@ -161,6 +161,8 @@ int evrtsp_remove_header(struct evkeyvalq *, const char *); int evrtsp_add_header(struct evkeyvalq *, const char *, const char *); void evrtsp_clear_headers(struct evkeyvalq *); +const char *evrtsp_method(enum evrtsp_cmd_type type); + #ifdef __cplusplus } #endif diff --git a/src/evrtsp/rtsp.c b/src/evrtsp/rtsp.c index 242dbe41..76fa5939 100644 --- a/src/evrtsp/rtsp.c +++ b/src/evrtsp/rtsp.c @@ -241,7 +241,7 @@ strsep(char **s, const char *del) } #endif -static const char * +const char * evrtsp_method(enum evrtsp_cmd_type type) { const char *method;