]> jfr.im git - irc/quakenet/newserv.git/blobdiff - proxyscan/proxyscan.h
Use nsmalloc/nsfree for proxyscan.
[irc/quakenet/newserv.git] / proxyscan / proxyscan.h
index e4a638917ae82aa082f43913c3dbac54f340fce0..627d7462e6ebfc538c62a5ddc907391c0bdec449 100644 (file)
@@ -16,7 +16,7 @@
 #define MAGICROUTERSTRING        "\r\nServer: Mikrotik HttpProxy\r\n"
 #define MAGICROUTERSTRINGLENGTH  30
 
-#define PSCAN_MAXSCANS      50
+#define PSCAN_MAXSCANS      100
 #define PSCAN_READBUFSIZE   (MAGICSTRINGLENGTH * 2)
 
 #define SSTATE_CONNECTING   0
@@ -145,7 +145,6 @@ foundproxy *getfoundproxy();
 void freefoundproxy(foundproxy *fpp);
 pendingscan *getpendingscan();
 void freependingscan(pendingscan *psp);
-void sfreeall();
 extrascan *getextrascan();
 void freeextrascan(extrascan *esp);
 
@@ -154,7 +153,7 @@ int openlistensocket(int portnum);
 void handlelistensocket(int fd, short events);
 
 /* proxyscanconnect.c */
-int createconnectsocket(long ip, int socknum);
+int createconnectsocket(struct irc_in_addr *ip, int socknum);
 
 /* proxyscandb.c */
 void loggline(cachehost *chp, patricia_node_t *node);