|
NetSurf
|
#include <stdlib.h>#include "utils/http.h"#include "utils/http/generics.h"#include "utils/http/parameter_internal.h"#include "utils/http/primitives.h"Go to the source code of this file.
Functions | |
| nserror | http_parse_content_disposition (const char *header_value, http_content_disposition **result) |
| Parse an HTTP Content-Disposition header value. More... | |
| void | http_content_disposition_destroy (http_content_disposition *victim) |
| Destroy a content disposition object. More... | |
| void http_content_disposition_destroy | ( | http_content_disposition * | victim | ) |
Destroy a content disposition object.
| victim | Object to destroy |
Definition at line 72 of file content-disposition.c.
References http_content_disposition::disposition_type, http_parameter_list_destroy(), and http_content_disposition::parameters.
Referenced by download_context_process_headers().
| nserror http_parse_content_disposition | ( | const char * | header_value, |
| http_content_disposition ** | result | ||
| ) |
Parse an HTTP Content-Disposition header value.
| header_value | Header value to parse |
| result | Pointer to location to receive result |
Definition at line 28 of file content-disposition.c.
References cd, http__item_list_parse, http__parse_parameter(), http__parse_token(), http__skip_LWS(), http_parameter_list_destroy(), NSERROR_NOMEM, NSERROR_NOT_FOUND, NSERROR_OK, and result.
Referenced by download_context_process_headers().