diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2019-11-06 20:18:29 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2019-11-06 20:18:29 +0300 |
commit | b11b1c52280f172ebfa42c3da906ea9aa3ea8799 (patch) | |
tree | c335acbc3cea17e1edb4fbc7b8f617019c68a2da /src/request.h | |
parent | a5ec437e91f90f25711c7e1b47b8238fdae6b103 (diff) | |
download | magi-b11b1c52280f172ebfa42c3da906ea9aa3ea8799.tar magi-b11b1c52280f172ebfa42c3da906ea9aa3ea8799.tar.xz magi-b11b1c52280f172ebfa42c3da906ea9aa3ea8799.zip |
[magi] FastCGI is comming.
Diffstat (limited to 'src/request.h')
-rw-r--r-- | src/request.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/request.h b/src/request.h index a43ba63..6b9df6e 100644 --- a/src/request.h +++ b/src/request.h @@ -1,7 +1,9 @@ #ifndef MAGI_INCLUDED_REQUEST #define MAGI_INCLUDED_REQUEST +#include "cookie.h" #include "field.h" +#include "param.h" /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * @@ -46,26 +48,10 @@ struct magi_request { }; -/* Common Request Handling */ /* * Destroys request; request is not valid after destruction. */ void magi_request_destroy(struct magi_request *request); -/* CGI Request Handling */ -/* - * Constructs request using environment variables and standart I/O; - * Returns null if succeed, otherwise error code. - */ -int magi_request_build_cgi( - struct magi_request *request, - /* Callback will be used only for fields loaded via multipart. */ - /* Null callback disables callback system. */ - void (*callback)(struct magi_field *field, char *buffer, int len), - int max_post -); - -/* TODO: FastCGI Request Handling */ - #endif |