QuickIO  0.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
protocols_util.h
Go to the documentation of this file.
1 
12 #pragma once
13 #include "quickio.h"
14 
22  guint used;
23 
27  struct {
28  gchar *key;
29  gchar *val;
30  } header[16];
31 };
32 
46  gchar *head,
47  struct protocol_headers *headers);
48 
64  const struct protocol_headers *headers,
65  const gchar *key);
For holding HTTP headers.
Definition: protocols_util.h:18
gchar * protocol_util_headers_get(const struct protocol_headers *headers, const gchar *key)
From the list of headers, get the specified header, ignoring case.
void protocol_util_headers(gchar *head, struct protocol_headers *headers)
From the given buffer, parse out HTTP headers, ignoring the first line (which is typically the GET...
Every header, definition, and whatnot QuickIO needs to run.
guint used
The number of headers parsed.
Definition: protocols_util.h:22
struct protocol_headers::@4 header[16]
All of the known headers.