summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.h b/file.h
index 9c48425..ce76a7f 100644
--- a/file.h
+++ b/file.h
@@ -8,6 +8,7 @@
enum serve_method {
SERVE_METHOD_FILE,
SERVE_METHOD_PHP,
+ SERVE_METHOD_CGI,
SERVE_METHOD_ERROR
};
@@ -16,6 +17,6 @@ const char *file_path_for_uri(const char *);
enum serve_method file_method_for_path(const char *, enum http_res_code *);
int file_read(const char *, int);
-int file_read_php(const char *, const struct http_request *, int);
+int file_read_cgi(const char *, const char *, const struct http_request *, int);
#endif