tinyows 1.2.2
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <assert.h>
#include "../ows/ows.h"
Go to the source code of this file.
Functions | |
list * | list_init () |
void | list_free (list *l) |
void | list_add (list *l, buffer *value) |
void | list_add_str (list *l, char *value) |
void | list_pop (list *l) |
void | list_add_list (list *l, list *l_to_add) |
void | list_add_by_copy (list *l, buffer *value) |
list_node * | list_node_init () |
void | list_node_free (list *l, list_node *ln) |
bool | in_list (const list *l, const buffer *value) |
bool | in_list_str (const list *l, const char *value) |
list * | list_explode (char separator, const buffer *value) |
list * | list_split (char separator, const buffer *value, bool reverse) |
list * | list_explode_start_end (char separator_start, char separator_end, buffer *value) |
list * | list_explode_str (char separator, const char *value) |
list * | list_explode_str_trim (char separator, const char *value) |
void | list_implode (buffer *buf, const char *separator, const list *l) |
Definition at line 259 of file list.c.
References Buffer::buf, buffer_cmp(), List::first, List_node::next, Buffer::use, and List_node::value.
Referenced by fe_bbox(), list_add_list(), ows_layer_list_ns_prefix(), ows_psql_is_geometry_column(), wfs_complex_type(), wfs_get_capabilities_110(), wfs_gml_display_feature(), and wfs_request_check_fid().
bool in_list_str | ( | const list * | l, |
const char * | value | ||
) |
Definition at line 278 of file list.c.
References Buffer::buf, List::first, List_node::next, and List_node::value.
Referenced by ows_layer_list_ns_prefix(), wfs_gml_display_feature(), wfs_gml_feature_member(), and wfs_retrieve_sql_request_select().
Definition at line 71 of file list.c.
References List::first, List::last, list_node_init(), List_node::next, List_node::prev, List::size, and List_node::value.
Referenced by alist_add(), list_explode(), list_explode_start_end(), list_explode_str(), list_explode_str_trim(), list_split(), ows_psql_column_check_constraint(), ows_srs_get_from_srid(), ows_storage_fill_not_null(), and wfs_retrieve_sql_request_list().
Definition at line 187 of file list.c.
References buffer_copy(), buffer_init(), List::first, List::last, list_node_init(), List_node::next, List_node::prev, List::size, and List_node::value.
Referenced by fe_property_name(), list_explode_start_end(), ows_layer_list_by_ns_prefix(), ows_layer_list_having_storage(), ows_layer_list_ns_prefix(), ows_layer_list_prefix_to_uri(), wfs_generate_schema(), wfs_request_check_describe_feature_type(), wfs_request_check_fid(), wfs_request_check_typename(), wfs_retrieve_sql_request_list(), and wfs_update_xml().
Definition at line 152 of file list.c.
References buffer_copy(), buffer_init(), List::first, in_list(), List::last, list_node_init(), List_node::next, List_node::prev, List::size, and List_node::value.
Referenced by ows_parse_config_layer().
void list_add_str | ( | list * | l, |
char * | value | ||
) |
Definition at line 102 of file list.c.
References buffer_add_str(), buffer_init(), List::first, List::last, list_node_init(), List_node::next, List_node::prev, List::size, and List_node::value.
Referenced by ows_layer_list_ns_prefix(), ows_layer_storage_fill(), and ows_metadata_fill().
Definition at line 296 of file list.c.
References Buffer::buf, buffer_add(), buffer_init(), list_add(), list_init(), and Buffer::use.
Referenced by fe_envelope(), fe_feature_id(), fe_kvp_featureid(), fe_property_name(), mlist_explode(), ows_bbox_set_from_str(), ows_request_check_version(), wfs_delete(), wfs_gml_display_results(), wfs_insert_xml(), wfs_request_check_get_capabilities(), wfs_request_check_sortby(), wfs_request_check_typename(), and wfs_retrieve_sql_request_list().
Definition at line 366 of file list.c.
References Buffer::buf, buffer_add(), buffer_init(), list_add(), list_add_by_copy(), list_init(), and Buffer::use.
Referenced by wfs_request_check_filter().
list * list_explode_str | ( | char | separator, |
const char * | value | ||
) |
Definition at line 401 of file list.c.
References buffer_add(), buffer_init(), list_add(), and list_init().
Referenced by fe_envelope(), ows_parse_config_layer(), ows_parse_config_metadata(), and ows_psql_postgis_version().
list * list_explode_str_trim | ( | char | separator, |
const char * | value | ||
) |
Definition at line 430 of file list.c.
References buffer_add(), buffer_init(), list_add(), and list_init().
Referenced by ows_parse_config_layer().
void list_free | ( | list * | l | ) |
Definition at line 54 of file list.c.
References List::first, List::last, and list_node_free().
Referenced by alist_free(), fe_envelope(), fe_feature_id(), fe_kvp_featureid(), fe_property_name(), mlist_node_free(), ows_bbox_set_from_str(), ows_free(), ows_layer_free(), ows_layer_storage_free(), ows_metadata_free(), ows_parse_config_layer(), ows_psql_postgis_version(), ows_request_check_version(), wfs_delete(), wfs_describe_feature_type(), wfs_generate_schema(), wfs_gml_display_results(), wfs_insert_xml(), wfs_request_check_describe_feature_type(), wfs_request_check_fid(), wfs_request_check_get_capabilities(), wfs_request_check_get_feature(), wfs_request_check_sortby(), wfs_request_check_transaction(), wfs_request_check_typename(), wfs_request_free(), wfs_request_remove_prop_ns_prefix(), wfs_retrieve_sql_request_list(), and wfs_update_xml().
Definition at line 461 of file list.c.
References Buffer::buf, buffer_add_str(), List::first, List_node::next, and List_node::value.
Referenced by ows_layer_storage_fill().
list * list_init | ( | ) |
Definition at line 36 of file list.c.
References List::first, List::last, and List::size.
Referenced by alist_add(), fe_property_name(), list_explode(), list_explode_start_end(), list_explode_str(), list_explode_str_trim(), list_split(), main(), ows_layer_list_by_ns_prefix(), ows_layer_list_having_storage(), ows_layer_list_ns_prefix(), ows_layer_list_prefix_to_uri(), ows_layer_storage_init(), ows_metadata_fill(), ows_parse_config_layer(), ows_psql_column_check_constraint(), ows_srs_get_from_srid(), ows_storage_fill_not_null(), wfs_generate_schema(), wfs_request_check_describe_feature_type(), wfs_request_check_get_feature(), wfs_request_check_transaction(), wfs_retrieve_sql_request_list(), and wfs_update_xml().
Definition at line 237 of file list.c.
References buffer_free(), List::first, List_node::next, List_node::prev, and List_node::value.
Referenced by list_free(), and list_pop().
list_node * list_node_init | ( | ) |
Definition at line 219 of file list.c.
References List_node::next, List_node::prev, and List_node::value.
Referenced by list_add(), list_add_by_copy(), list_add_list(), and list_add_str().
void list_pop | ( | list * | l | ) |
Definition at line 129 of file list.c.
References List::first, List::last, list_node_free(), List_node::next, List_node::prev, and List::size.
Referenced by wfs_describe_feature_type().
Definition at line 324 of file list.c.
References Buffer::buf, buffer_add_nstr(), buffer_chr(), buffer_copy(), buffer_init(), buffer_rchr(), buffer_shift(), list_add(), and list_init().
Referenced by wfs_request_check_fid().