2019-07-28 10:31:56 +08:00
|
|
|
#ifndef ACL_DLL_INCLUDE_H
|
2014-11-19 00:25:21 +08:00
|
|
|
#define ACL_DLL_INCLUDE_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "acl_define.h"
|
|
|
|
#include "acl_vstream.h"
|
|
|
|
#include "acl_debug_malloc.h"
|
|
|
|
#include "acl_mem_slice.h"
|
|
|
|
|
|
|
|
typedef struct ACL_DLL_ENV {
|
|
|
|
ACL_VSTREAM *logfp;
|
|
|
|
ACL_DEBUG_MEM *mmd;
|
|
|
|
ACL_MEM_SLICE *mem_slice;
|
|
|
|
} ACL_DLL_ENV;
|
|
|
|
|
|
|
|
ACL_API ACL_DLL_HANDLE acl_dlopen(const char *dlname);
|
|
|
|
ACL_API void acl_dlclose(ACL_DLL_HANDLE handle);
|
|
|
|
ACL_API ACL_DLL_FARPROC acl_dlsym(void *handle, const char *name);
|
2015-12-12 23:00:03 +08:00
|
|
|
ACL_API const char *acl_dlerror(void);
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|