NetSurf
|
Go to the source code of this file.
Data Structures | |
struct | http_content_disposition |
Typedefs | |
typedef struct http_content_disposition | http_content_disposition |
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... | |
typedef struct http_content_disposition http_content_disposition |
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().