mirror of
				https://github.com/3proxy/3proxy.git
				synced 2025-11-04 07:42:39 +08:00 
			
		
		
		
	Fix plugin declarations of hashindex and nametohash
Plugins using these would fail to provide the required arguments.
This commit is contained in:
		
							parent
							
								
									5e2b2a399e
								
							
						
					
					
						commit
						687ebafb1b
					
				@ -11,8 +11,8 @@
 | 
			
		||||
unsigned bandlimitfunc(struct clientparam *param, unsigned nbytesin, unsigned nbytesout);
 | 
			
		||||
void trafcountfunc(struct clientparam *param);
 | 
			
		||||
int checkACL(struct clientparam * param);
 | 
			
		||||
void nametohash(const unsigned char * name, unsigned char *hash);
 | 
			
		||||
unsigned hashindex(const unsigned char* hash);
 | 
			
		||||
void nametohash(const unsigned char * name, unsigned char *hash, unsigned char *rnd);
 | 
			
		||||
unsigned hashindex(struct hashtable *ht, const unsigned char* hash);
 | 
			
		||||
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);
 | 
			
		||||
 | 
			
		||||
@ -753,8 +753,8 @@ 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 (*hashindex)(const unsigned char* hash);
 | 
			
		||||
	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);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user