Soft'N'Design Software
/
projects
/
webserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
best makefile
[webserver.git]
/
http.h
diff --git
a/http.h
b/http.h
index 3ec7d5c781b094e3e3276f290686f820d84a4231..193698ea5ebbec3dd072b262511f7fcb0dd53d3b 100644
(file)
--- a/
http.h
+++ b/
http.h
@@
-1,7
+1,18
@@
#ifndef __HTTP_H__
#define __HTTP_H__
#ifndef __HTTP_H__
#define __HTTP_H__
-int processing (unsigned char *data, int len, unsigned char **pdata);
+/* type */
+
+typedef struct {
+ char *root;
+ char *temp;
+ char *servername;
+ char *charset;
+} conf_t;
+
+/* functions */
+
+int processing (char *data, int len, conf_t *conf, char **pdata);
#endif /* __HTTP_H__ */
#endif /* __HTTP_H__ */