#define __SWITCH_CURL_H
#include "curl/curl.h"
+SWITCH_BEGIN_EXTERN_C
typedef void switch_CURL;
typedef struct curl_slist switch_curl_slist_t;
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
#ifndef FREESWITCH_DSO_H
#define FREESWITCH_DSO_H
+SWITCH_BEGIN_EXTERN_C
+
typedef int (*switch_dso_func_t) (void);
#ifdef WIN32
typedef HINSTANCE switch_dso_lib_t;
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_END_EXTERN_C
#endif