volta.h
changeset 12 191b3c25974a
parent 11 9aa5114326e8
child 13 23a242d7b7fa
--- a/volta.h	Mon Oct 17 09:12:00 2011 -0700
+++ b/volta.h	Sun Oct 23 22:59:59 2011 -0700
@@ -91,6 +91,7 @@
 typedef struct request {
 	char   *scheme;
 	char   *host;
+	char   *tld;
 	char   *path;
 	char   *port;
 	struct in_addr *client_ip;
@@ -122,6 +123,8 @@
 
 void usage( char * );
 void debug( int, char *, int, const char *, ... );
+void out( const char * );
+void reverse_str( char * );
 void report_speed( void );
 char *slurp_file( char * );
 char *extend_line( char *, const char * );
@@ -133,6 +136,7 @@
 request *parse( char * );
 request *init_request( void );
 void populate_request( request * );
+void parse_tld( request * );
 void cleanup_request( request * );
 
 #endif