mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
move hashtable/resolve/sql functions to separate files
This commit is contained in:
1 parent
4c0e3a1bac
commit
a0d580b36d
9 files changed
+560
-554
No files matched your search
+2
-2
@@ -768,6 +768,8 @@ struct hashtable {
|
||||
struct hashentry ** hashtable;
|
||||
void * hashvalues;
|
||||
struct hashentry * hashempty;
|
||||
void (*index2hash)(const void *index, unsigned char *hash, const unsigned char *rnd);
|
||||
int grow;
|
||||
};
|
||||
|
||||
extern struct hashtable dns_table;
|
||||
@@ -795,8 +797,6 @@ struct pluginlink {
|
||||
int (*ACLMatches)(struct ace* acentry, struct clientparam * param);
|
||||
int (*alwaysauth)(struct clientparam * param);
|
||||
int (*checkACL)(struct clientparam * param);
|
||||
void (*nametohash)(const unsigned char * name, unsigned char *hash, unsigned char *rnd);
|
||||
unsigned (*hashindex)(struct hashtable *ht, const unsigned char* hash);
|
||||
unsigned char* (*en64)(const unsigned char *in, unsigned char *out, int inlen);
|
||||
int (*de64)(const unsigned char *in, unsigned char *out, int maxlen);
|
||||
void (*tohex)(unsigned char *in, unsigned char *out, int len);
|
||||
|
||||
Reference in new issue
Block a user