mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
Add missing EXTERN C in FS header files, needed for the upcoming mod_v8 build
This commit is contained in:
parent
5f7b00fb69
commit
64b92e72ec
@ -32,6 +32,7 @@
|
|||||||
#define __SWITCH_CURL_H
|
#define __SWITCH_CURL_H
|
||||||
#include "curl/curl.h"
|
#include "curl/curl.h"
|
||||||
|
|
||||||
|
SWITCH_BEGIN_EXTERN_C
|
||||||
|
|
||||||
typedef void switch_CURL;
|
typedef void switch_CURL;
|
||||||
typedef struct curl_slist switch_curl_slist_t;
|
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_init(void);
|
||||||
SWITCH_DECLARE(void) switch_curl_destroy(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_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
|
#endif
|
||||||
|
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#ifndef FREESWITCH_DSO_H
|
#ifndef FREESWITCH_DSO_H
|
||||||
#define FREESWITCH_DSO_H
|
#define FREESWITCH_DSO_H
|
||||||
|
|
||||||
|
SWITCH_BEGIN_EXTERN_C
|
||||||
|
|
||||||
typedef int (*switch_dso_func_t) (void);
|
typedef int (*switch_dso_func_t) (void);
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
typedef HINSTANCE switch_dso_lib_t;
|
typedef HINSTANCE switch_dso_lib_t;
|
||||||
@ -35,6 +37,7 @@ SWITCH_DECLARE(switch_dso_lib_t) switch_dso_open(const char *path, int global, c
|
|||||||
SWITCH_DECLARE(switch_dso_func_t) switch_dso_func_sym(switch_dso_lib_t lib, const char *sym, char **err);
|
SWITCH_DECLARE(switch_dso_func_t) switch_dso_func_sym(switch_dso_lib_t lib, const char *sym, char **err);
|
||||||
SWITCH_DECLARE(void *) switch_dso_data_sym(switch_dso_lib_t lib, const char *sym, char **err);
|
SWITCH_DECLARE(void *) switch_dso_data_sym(switch_dso_lib_t lib, const char *sym, char **err);
|
||||||
|
|
||||||
|
SWITCH_END_EXTERN_C
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user