tinyows 1.2.2
alist.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <assert.h>
#include "../ows/ows.h"
Include dependency graph for alist.c:

Go to the source code of this file.

Functions

alistalist_init ()
 
void alist_free (alist *al)
 
void alist_add (alist *al, buffer *key, buffer *value)
 
bool alist_is_key (const alist *al, const char *key)
 
listalist_get (const alist *al, const char *key)
 

Function Documentation

◆ alist_add()

void alist_add ( alist * al,
buffer * key,
buffer * value )

Definition at line 83 of file alist.c.

References alist_is_key(), Buffer::buf, buffer_case_cmp(), Alist::first, Alist_node::key, Alist::last, list_add(), list_init(), Alist_node::next, and Alist_node::value.

Referenced by wfs_insert_xml().

Here is the call graph for this function:

◆ alist_free()

void alist_free ( alist * al)

Definition at line 56 of file alist.c.

References buffer_free(), Alist::first, Alist_node::key, list_free(), Alist_node::next, and Alist_node::value.

Referenced by wfs_request_free().

Here is the call graph for this function:

◆ alist_get()

list * alist_get ( const alist * al,
const char * key )

Definition at line 138 of file alist.c.

References buffer_case_cmp(), Alist::first, Alist_node::key, Alist_node::next, Buffer::use, and Alist_node::value.

Here is the call graph for this function:

◆ alist_init()

alist * alist_init ( )

Definition at line 39 of file alist.c.

References Alist::first, and Alist::last.

Referenced by wfs_parse_operation().

◆ alist_is_key()

bool alist_is_key ( const alist * al,
const char * key )

Definition at line 116 of file alist.c.

References buffer_case_cmp(), Alist::first, Alist_node::key, Alist_node::next, and Buffer::use.

Referenced by alist_add().

Here is the call graph for this function:

Generated for tinyows by doxygen 1.13.2