mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Remove unsupported "myalloc" code
This commit is contained in:
1 parent
70ed1233fb
commit
8ad8a9ccd2
4 files changed
+25
-405
No files matched your search
+9
-4
@@ -197,6 +197,11 @@ 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)
|
||||
@@ -749,10 +754,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 * (*myalloc)(size_t size);
|
||||
void (*myfree)(void *ptr);
|
||||
void *(*myrealloc)(void *ptr, size_t size);
|
||||
char * (*mystrdup)(const char *str);
|
||||
void * (*malloc)(size_t size);
|
||||
void (*free)(void *ptr);
|
||||
void *(*realloc)(void *ptr, size_t size);
|
||||
char * (*strdup)(const char *str);
|
||||
TRAFCOUNTFUNC trafcountfunc;
|
||||
char ** proxy_table;
|
||||
struct schedule ** schedule;
|
||||
|
||||
Reference in new issue
Block a user