28 #ifndef __http_keyvalue_list_h__ 29 #define __http_keyvalue_list_h__ 36 #include <apps/netutils/webserver/http_server.h> struct http_keyvalue_t * head
int http_keyvalue_list_add(struct http_keyvalue_list_t *list, const char *key, const char *value)
http_keyvalue_list_add() adds keyvalue to list.
int http_keyvalue_list_release(struct http_keyvalue_list_t *list)
http_keyvalue_list_release() frees list.
#define HTTP_CONF_MAX_KEY_LENGTH
char value[HTTP_CONF_MAX_VALUE_LENGTH]
int http_keyvalue_list_init(struct http_keyvalue_list_t *list)
http_keyvalue_list_init() allocates list's head and tail.
struct http_keyvalue_t * tail
struct http_keyvalue_t * next
#define HTTP_CONF_MAX_VALUE_LENGTH
char * http_keyvalue_list_find(struct http_keyvalue_list_t *list, const char *key)
http_keyvalue_list_find() finds a value with a specific key.
Standard Input / Output APIs.
int http_keyvalue_list_delete_tail(struct http_keyvalue_list_t *list)
http_keyvalue_list_delete_tail() deletes keyvalue to list where in list's tail.
char key[HTTP_CONF_MAX_KEY_LENGTH]
struct http_keyvalue_t * prev
HTTP keyvalue linked list structure.