diff options
Diffstat (limited to 'src/afb-hreq.h')
-rw-r--r-- | src/afb-hreq.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/afb-hreq.h b/src/afb-hreq.h index fd2a2a3d..f2362b10 100644 --- a/src/afb-hreq.h +++ b/src/afb-hreq.h @@ -28,6 +28,7 @@ struct afb_hreq { AFB_session *session; struct MHD_Connection *connection; enum afb_method method; + const char *version; const char *url; size_t lenurl; const char *tail; @@ -50,4 +51,10 @@ extern int afb_hreq_reply_file(struct afb_hreq *request, int dirfd, const char * extern int afb_hreq_redirect_to(struct afb_hreq *request, const char *url); +extern const char *afb_hreq_get_cookie(struct afb_hreq *hreq, const char *name); + +extern const char *afb_hreq_get_argument(struct afb_hreq *hreq, const char *name); + +extern const char *afb_hreq_get_header(struct afb_hreq *hreq, const char *name); + extern struct afb_req_itf afb_hreq_itf; |