tinyows 1.2.2
array.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 array.c:

Go to the source code of this file.

Functions

arrayarray_init ()
 
void array_free (array *a)
 
void array_add (array *a, buffer *key, buffer *value)
 
bool array_is_key (const array *a, const char *key)
 
bool array_is_value (const array *a, const char *value)
 
bufferarray_get (const array *a, const char *key)
 
bufferarray_get_key (const array *a, const char *value)
 

Function Documentation

◆ array_add()

◆ array_free()

void array_free ( array * a)

◆ array_get()

◆ array_get_key()

buffer * array_get_key ( const array * a,
const char * value )

Definition at line 170 of file array.c.

References buffer_case_cmp(), Array::first, Array_node::key, Array_node::next, Buffer::use, and Array_node::value.

Referenced by cgi_parse_xml(), and wfs_retrieve_typename().

Here is the call graph for this function:

◆ array_init()

array * array_init ( )

Definition at line 36 of file array.c.

References Array::first, and Array::last.

Referenced by cgi_parse_kvp(), cgi_parse_xml(), ows_layer_list_namespaces(), and ows_layer_storage_init().

◆ array_is_key()

◆ array_is_value()

bool array_is_value ( const array * a,
const char * value )

Definition at line 125 of file array.c.

References buffer_case_cmp(), Array::first, Array_node::next, Buffer::use, and Array_node::value.

Referenced by cgi_parse_xml(), and wfs_retrieve_typename().

Here is the call graph for this function:

Generated for tinyows by doxygen 1.12.0