mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
rename memory functions in pluginlink
This commit is contained in:
1 parent
e7e7d2fddf
commit
22cf9254c5
9 files changed
+82
-82
No files matched your search
+4
-9
@@ -197,11 +197,6 @@ typedef void * (*EXTENDFUNC) (struct node *node);
|
||||
typedef void (*CBFUNC)(void *cb, char * buf, int inbuf);
|
||||
typedef void (*PRINTFUNC) (struct node *node, CBFUNC cbf, void*cb);
|
||||
|
||||
#define myalloc malloc
|
||||
#define myfree free
|
||||
#define myrealloc realloc
|
||||
#define mystrdup strdup
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#define PLUGINAPI __declspec(dllexport)
|
||||
@@ -754,10 +749,10 @@ struct pluginlink {
|
||||
void (*decodeurl)(unsigned char *s, int allowcr);
|
||||
int (*parsestr) (unsigned char *str, unsigned char **argm, int nitems, unsigned char ** buff, int *inbuf, int *bufsize);
|
||||
struct ace * (*make_ace) (int argc, unsigned char ** argv);
|
||||
void * (*malloc)(size_t size);
|
||||
void (*free)(void *ptr);
|
||||
void *(*realloc)(void *ptr, size_t size);
|
||||
char * (*strdup)(const char *str);
|
||||
void * (*mallocfunc)(size_t size);
|
||||
void (*freefunc)(void *ptr);
|
||||
void *(*reallocfunc)(void *ptr, size_t size);
|
||||
char * (*strdupfunc)(const char *str);
|
||||
TRAFCOUNTFUNC trafcountfunc;
|
||||
char ** proxy_table;
|
||||
struct schedule ** schedule;
|
||||
|
||||
Reference in new issue
Block a user