From 43968691c2a7f1f95cf7476fc8ab3c0bba8bab54 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Sat, 18 Jul 2020 08:29:10 +0300 Subject: Removed unnecessary field meta from request. --- include/magi/request.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/magi/request.h b/include/magi/request.h index fe0f745..2d998c7 100644 --- a/include/magi/request.h +++ b/include/magi/request.h @@ -19,7 +19,6 @@ /* Limits on possibly enormous structures. Null means unlimited. */ struct magi_request_limits { int cookies; - int params_meta; int params_head; int params_body; int read_buffer; @@ -29,7 +28,6 @@ struct magi_request { enum magi_error error; struct magi_cookies *cookies; /* Passed HTTP cookies. */ - struct magi_params *meta; /* Request parameters. */ struct magi_params *head; /* Form field values from URL. */ struct magi_params *body; /* Form field values from body. */ struct magi_files *files; /* Form field files metadatas. */ @@ -54,9 +52,6 @@ void magi_request_init(struct magi_request *r); void magi_request_free(struct magi_request *r); -/* Get value of meta-param with name. */ -char *magi_request_meta(const struct magi_request *r, const char *name); - /* Get value of form field param (prioritising body) with name. */ char *magi_request_param(const struct magi_request *r, const char *name); /* Get value of form field param with name from url. */ -- cgit v1.2.3