Updated the return type for new_anonymous().
This commit is contained in:
		
							parent
							
								
									bf477e9dff
								
							
						
					
					
						commit
						df52296674
					
				@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: anonymous.c,v 1.4 2001-05-23 18:01:23 rjkaes Exp $
 | 
			
		||||
/* $Id: anonymous.c,v 1.5 2001-05-27 02:21:37 rjkaes Exp $
 | 
			
		||||
 *
 | 
			
		||||
 * Handles insertion and searches for headers which should be let through when
 | 
			
		||||
 * the anonymous feature is turned on. The headers are stored in a Ternary
 | 
			
		||||
@ -33,7 +33,7 @@
 | 
			
		||||
 | 
			
		||||
static TERNARY anonymous_tree;
 | 
			
		||||
 | 
			
		||||
int new_anonymous(void)
 | 
			
		||||
TERNARY new_anonymous(void)
 | 
			
		||||
{
 | 
			
		||||
	anonymous_tree = ternary_new();
 | 
			
		||||
	return anonymous_tree;
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: anonymous.h,v 1.3 2000-10-23 21:43:52 rjkaes Exp $
 | 
			
		||||
/* $Id: anonymous.h,v 1.4 2001-05-27 02:21:37 rjkaes Exp $
 | 
			
		||||
 *
 | 
			
		||||
 * See 'anonymous.c' for a detailed description.
 | 
			
		||||
 *
 | 
			
		||||
@ -18,7 +18,9 @@
 | 
			
		||||
#ifndef _TINYPROXY_ANONYMOUS_H_
 | 
			
		||||
#define _TINYPROXY_ANONYMOUS_H_
 | 
			
		||||
 | 
			
		||||
extern int new_anonymous(void);
 | 
			
		||||
#include "ternary.h"
 | 
			
		||||
 | 
			
		||||
extern TERNARY new_anonymous(void);
 | 
			
		||||
extern int anon_search(char *s);
 | 
			
		||||
extern void anon_insert(char *s);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user