mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-08 20:43:51 +00:00
add our own module load code (LBAPR-1)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10272 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
837b2c9bed
commit
b17ebda4df
5 files changed
+69
-42
No files matched your search
@@ -21,21 +21,19 @@
|
||||
#ifndef _SWITCH_DSO_H
|
||||
#define _SWITCH_DSO_H
|
||||
|
||||
typedef void (*switch_func_ptr_t) (void);
|
||||
typedef int (*switch_dso_func_t) (void);
|
||||
#ifdef WIN32
|
||||
typedef HINSTANCE switch_dso_lib_t;
|
||||
#else
|
||||
typedef void * switch_dso_lib_t;
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
typedef FARPROC switch_dso_func_t;
|
||||
#else
|
||||
typedef void * switch_dso_func_t;
|
||||
#endif
|
||||
|
||||
typedef void * switch_dso_data_t;
|
||||
|
||||
void switch_dso_destroy(switch_dso_lib_t *lib);
|
||||
switch_dso_lib_t switch_dso_open(const char *path, int global, char **err);
|
||||
switch_dso_func_t switch_dso_func_sym(switch_dso_lib_t lib, const char *sym, char **err);
|
||||
void *switch_dso_data_sym(switch_dso_lib_t lib, const char *sym, char **err);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user