X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.h;h=f2362b10f427edc722f9fe18eb4190147d3d9501;hb=4d603302535155ffe71208e86de14c7abc4e775d;hp=fd2a2a3d7bb65d5f41d2f47e388bfc056cb7e6c4;hpb=efcba05ca901c277ce44e4be8c475b79595ea0ca;p=src%2Fapp-framework-binder.git 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;