Experimental version.. Trying to move state information into URL parameters
[pazpar2-moved-to-github.git] / http.h
diff --git a/http.h b/http.h
index 3fa3a3b..7501424 100644 (file)
--- a/http.h
+++ b/http.h
@@ -21,7 +21,7 @@ struct http_channel
     enum
     {
         Http_Idle,
-        Http_Busy      // Don't process new HTTP requests
+        Http_Busy      // Don't process new HTTP requests while we're busy
     } state;
     NMEM nmem;
     WRBUF wrbuf;
@@ -71,7 +71,7 @@ struct http_response
 };
 
 void http_set_proxyaddr(char *url);
-void http_init(int port);
+void http_init(const char *addr);
 void http_addheader(struct http_response *r, const char *name, const char *value);
 char *http_argbyname(struct http_request *r, char *name);
 char *http_headerbyname(struct http_request *r, char *name);