mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Threads pool added
This commit is contained in:
1 parent
3d5da0105d
commit
bdee95c7e0
9 files changed
+275
-33
No files matched your search
@@ -245,6 +245,9 @@ int socks5_setaddr(int family, int atyp, const unsigned char *addr, PROXYSOCKADD
|
||||
#ifdef __linux__
|
||||
extern int mainnsfd;
|
||||
int nsopen(void);
|
||||
int nsbroken(void);
|
||||
#else
|
||||
#define nsbroken() 0
|
||||
#endif
|
||||
/* a function everywhere, never a macro: its callers have preprocessor
|
||||
lines among its arguments */
|
||||
@@ -302,6 +305,8 @@ uint32_t getip46(int family, unsigned char *name, struct sockaddr *sa);
|
||||
int afdetect(unsigned char *name);
|
||||
uint32_t myresolver(int, unsigned char *, unsigned char *);
|
||||
uint32_t fakeresolver (int, unsigned char *, unsigned char*);
|
||||
void releaseparam(struct clientparam * param);
|
||||
void pooldrain(void);
|
||||
void freeparam(struct clientparam * param);
|
||||
void clearstat(struct clientparam * param);
|
||||
void dumpcounters(struct trafcount *tl, int counterd);
|
||||
|
||||
Reference in new issue
Block a user