volta.h
changeset 18 d4ce82194b64
parent 17 bd746609ba46
child 22 822094314703
--- a/volta.h	Mon Nov 07 10:43:09 2011 -0800
+++ b/volta.h	Wed Nov 09 15:54:37 2011 -0800
@@ -117,7 +117,7 @@
  */
 typedef struct parsed {
 	unsigned short int type;
-	unsigned short int wl;
+	unsigned short int negate;
 	char   *path_re;
 	char   *redir;
 	char   *scheme;
@@ -162,11 +162,9 @@
 
 void usage( char * );
 void debug( int, char *, int, const char *, ... );
-void out( const char * );
 void reverse_str( char * );
 void lowercase_str( char *, unsigned short int );
 void report_speed( void );
-char *slurp_file( char * );
 char *extend_line( char *, const char * );
 char *copy_string_token( char *, unsigned short int );
 /* struct in_addr *copy_ipv4_token( char *, unsigned short int ); */
@@ -181,6 +179,7 @@
 void finish_parsed( parsed * );
 void reset_results( parsed **, unsigned int );
 unsigned short int check_rule( parsed *, parsed * );
+void pass( parsed *, parsed * );
 void rewrite( parsed *, parsed * );
 
 #endif