minimal mime management
[webserver.git] / http.h
diff --git a/http.h b/http.h
index 4e6307fef043054037c39865b9ca2730d38bc8cd..d25fa692de118510cf1438b9224c6ba50d257fb3 100644 (file)
--- a/http.h
+++ b/http.h
@@ -1,7 +1,17 @@
 #ifndef __HTTP_H__
 #define __HTTP_H__
 
-int processing (char *data, int len, char *root, char **pdata);
+/* type */
+
+typedef struct {
+    char *root;
+    char *servername;
+    char *charset;
+} conf_t;
+
+/* functions */
+
+int processing (char *data, int len, conf_t *conf, char **pdata);
 
 #endif /* __HTTP_H__ */