Add missing EXTERN C in FS header files, needed for the upcoming mod_v8 build

This commit is contained in:
Peter Olsson committed 2014-01-14 09:31:36 +01:00
1 parent 5f7b00fb69
commit 64b92e72ec
2 files changed
+6

No files matched your search

+3
View File
@@ -32,6 +32,7 @@
#define __SWITCH_CURL_H
#include "curl/curl.h"
SWITCH_BEGIN_EXTERN_C
typedef void switch_CURL;
typedef struct curl_slist switch_curl_slist_t;
@@ -50,6 +51,8 @@ SWITCH_DECLARE(const char *) switch_curl_easy_strerror(switch_CURLcode errornum
SWITCH_DECLARE(void) switch_curl_init(void);
SWITCH_DECLARE(void) switch_curl_destroy(void);
SWITCH_DECLARE(switch_status_t) switch_curl_process_form_post_params(switch_event_t *event, switch_CURL *curl_handle, struct curl_httppost **formpostp);
SWITCH_END_EXTERN_C
#endif