diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2020-07-18 08:29:10 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2020-07-18 08:29:10 +0300 |
commit | 43968691c2a7f1f95cf7476fc8ab3c0bba8bab54 (patch) | |
tree | ddd2d851508a2b93ce95d3d65b272620bc5322f6 /include | |
parent | 36dda991898ce621a0b0f7103f763690e73fa0ff (diff) | |
download | magi-43968691c2a7f1f95cf7476fc8ab3c0bba8bab54.tar magi-43968691c2a7f1f95cf7476fc8ab3c0bba8bab54.tar.xz magi-43968691c2a7f1f95cf7476fc8ab3c0bba8bab54.zip |
Removed unnecessary field meta from request.
Diffstat (limited to 'include')
-rw-r--r-- | include/magi/request.h | 5 |
1 files changed, 0 insertions, 5 deletions
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. */ |