## soup-headers

soup-headers —

## Synopsis

    gboolean    soup_headers_parse_request      (char *str,
                                                 int len,
                                                 GHashTable *dest,
                                                 char **req_method,
                                                 char **req_path,
                                                 SoupHttpVersion *ver);
    gboolean    soup_headers_parse_status_line  (const char *status_line,
                                                 SoupHttpVersion *ver,
                                                 guint *status_code,
                                                 char **status_phrase);
    gboolean    soup_headers_parse_response     (char *str,
                                                 int len,
                                                 GHashTable *dest,
                                                 SoupHttpVersion *ver,
                                                 guint *status_code,
                                                 char **status_phrase);
    char*       soup_header_param_decode_token  (char **in);
    GHashTable* soup_header_param_parse_list    (const char *header);
    char*       soup_header_param_copy_token    (GHashTable *tokens,
                                                 char *t);
    void        soup_header_param_destroy_hash  (GHashTable *table);

## Description

## Details

### soup_headers_parse_request ()

    gboolean    soup_headers_parse_request      (char *str,
                                                 int len,
                                                 GHashTable *dest,
                                                 char **req_method,
                                                 char **req_path,
                                                 SoupHttpVersion *ver);

`str` : |
`len` : |
`dest` : |
`req_method` : |
`req_path` : |
`ver` : |
Returns : |

### soup_headers_parse_status_line ()

    gboolean    soup_headers_parse_status_line  (const char *status_line,
                                                 SoupHttpVersion *ver,
                                                 guint *status_code,
                                                 char **status_phrase);

`status_line` : |
`ver` : |
`status_code` : |
`status_phrase` : |
Returns : |

### soup_headers_parse_response ()

    gboolean    soup_headers_parse_response     (char *str,
                                                 int len,
                                                 GHashTable *dest,
                                                 SoupHttpVersion *ver,
                                                 guint *status_code,
                                                 char **status_phrase);

`str` : |
`len` : |
`dest` : |
`ver` : |
`status_code` : |
`status_phrase` : |
Returns : |

### soup_header_param_decode_token ()

    char*       soup_header_param_decode_token  (char **in);

`in` : |
Returns : |

### soup_header_param_parse_list ()

    GHashTable* soup_header_param_parse_list    (const char *header);

`header` : |
Returns : |

### soup_header_param_copy_token ()

    char*       soup_header_param_copy_token    (GHashTable *tokens,
                                                 char *t);

`tokens` : |
`t` : |
Returns : |

### soup_header_param_destroy_hash ()

    void        soup_header_param_destroy_hash  (GHashTable *table);

`table` : |