tinyows 1.2.2
ows_api.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void array_add (array *a, buffer *key, buffer *value)
void array_flush (const array *a, FILE *output)
void array_free (array *a)
bufferarray_get (const array *a, const char *key)
bufferarray_get_key (const array *a, const char *value)
arrayarray_init ()
bool array_is_key (const array *a, const char *key)
bool array_is_value (const array *a, const char *value)
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)
void alist_flush (const alist *al, FILE *output)
void buffer_add (buffer *buf, char c)
void buffer_add_double (buffer *buf, double f)
void buffer_add_head (buffer *buf, char c)
void buffer_add_head_str (buffer *buf, char *str)
void buffer_add_int (buffer *buf, int i)
void buffer_add_str (buffer *buf, const char *str)
void buffer_add_nstr (buffer *buf, const char *str, size_t n)
bufferbuffer_from_str (const char *str)
bool buffer_cmp (const buffer *buf, const char *str)
bool buffer_ncmp (const buffer *buf, const char *str, size_t n)
bool buffer_case_cmp (const buffer *buf, const char *str)
void buffer_copy (buffer *dest, const buffer *src)
bufferbuffer_clone (buffer *buf)
void buffer_empty (buffer *buf)
void buffer_flush (buffer *buf, FILE *output)
void buffer_free (buffer *buf)
bufferbuffer_ftoa (double f)
bufferbuffer_init ()
bufferbuffer_itoa (int i)
void buffer_pop (buffer *buf, size_t len)
bufferbuffer_replace (buffer *buf, char *before, char *after)
void buffer_shift (buffer *buf, size_t len)
long int buffer_chr (const buffer *buf, char c)
long int buffer_rchr (const buffer *buf, char c)
bufferbuffer_encode_xml_entities_str (const char *str)
bufferbuffer_encode_json_str (const char *str)
buffercgi_add_xml_into_buffer (buffer *element, xmlNodePtr n)
char * cgi_getback_query (ows *o)
bool cgi_method_get ()
bool cgi_method_post ()
arraycgi_parse_kvp (ows *o, char *query)
arraycgi_parse_xml (ows *o, char *query)
bool check_regexp (const char *str_request, const char *str_regex)
bufferfe_comparison_op (ows *o, buffer *typename, filter_encoding *fe, xmlNodePtr n)
bufferfe_envelope (ows *o, buffer *typename, filter_encoding *fe, buffer *envelope, xmlNodePtr n)
void fe_error (ows *o, filter_encoding *fe)
bufferfe_expression (ows *o, buffer *typename, filter_encoding *fe, buffer *sql, xmlNodePtr n)
bufferfe_feature_id (ows *o, buffer *typename, filter_encoding *fe, xmlNodePtr n)
filter_encodingfe_filter (ows *o, filter_encoding *fe, buffer *typename, buffer *xmlchar)
void fe_filter_capabilities_100 (const ows *o)
void fe_filter_capabilities_110 (const ows *o)
bufferfe_function (ows *o, buffer *typename, filter_encoding *fe, buffer *sql, xmlNodePtr n)
bool fe_is_comparison_op (char *name)
bool fe_is_logical_op (char *name)
bool fe_is_spatial_op (char *name)
bufferfe_kvp_bbox (ows *o, wfs_request *wr, buffer *layer_name, ows_bbox *bbox)
bufferfe_kvp_featureid (ows *o, wfs_request *wr, buffer *layer_name, list *fid)
bufferfe_logical_op (ows *o, buffer *typename, filter_encoding *fe, xmlNodePtr n)
void fe_node_flush (xmlNodePtr node, FILE *output)
bufferfe_property_name (ows *o, buffer *typename, filter_encoding *fe, buffer *sql, xmlNodePtr n, bool check_geom_column, bool mandatory)
bufferfe_spatial_op (ows *o, buffer *typename, filter_encoding *fe, xmlNodePtr n)
bufferfe_xpath_property_name (ows *o, buffer *typename, buffer *property)
bufferfill_fe_error (ows *o, filter_encoding *fe)
void filter_encoding_flush (filter_encoding *fe, FILE *output)
void filter_encoding_free (filter_encoding *fe)
filter_encodingfilter_encoding_init ()
bool in_list (const list *l, const buffer *value)
bool in_list_str (const list *l, const char *value)
void list_add (list *l, buffer *value)
void list_add_by_copy (list *l, buffer *value)
void list_add_list (list *l, list *l_to_add)
void list_add_str (list *l, char *value)
void list_pop (list *l)
listlist_split (char separator, const buffer *value, bool reverse)
listlist_explode (char separator, const buffer *value)
listlist_explode_start_end (char separator_start, char separator_end, buffer *value)
listlist_explode_str (char separator, const char *value)
listlist_explode_str_trim (char separator, const char *value)
void list_implode (buffer *buf, const char *separator, const list *l)
void list_flush (const list *l, FILE *output)
void list_free (list *l)
listlist_init ()
void list_node_free (list *l, list_node *ln)
list_nodelist_node_init ()
int main (int argc, char *argv[])
void mlist_add (mlist *ml, list *value)
mlistmlist_explode (char separator_start, char separator_end, buffer *value)
void mlist_flush (const mlist *ml, FILE *output)
void mlist_free (mlist *ml)
mlistmlist_init ()
void mlist_node_free (mlist *ml, mlist_node *mln)
mlist_nodemlist_node_init ()
ows_bboxows_bbox_boundaries (ows *o, list *from, list *where, ows_srs *srs)
void ows_bbox_flush (const ows_bbox *b, FILE *output)
void ows_bbox_free (ows_bbox *b)
ows_bboxows_bbox_init ()
bool ows_bbox_set (ows *o, ows_bbox *b, double xmin, double ymin, double xmax, double ymax, int srid)
bool ows_bbox_set_from_geobbox (ows *o, ows_bbox *bb, ows_geobbox *geo)
bool ows_bbox_set_from_str (ows *o, ows_bbox *bb, const char *str, int srid, bool honours_authority_axis_order_if_no_explicit_srs)
bool ows_bbox_transform (ows *o, ows_bbox *bb, int srid)
void ows_bbox_to_query (ows *o, ows_bbox *bbox, buffer *query)
void ows_contact_flush (ows_contact *contact, FILE *output)
void ows_contact_free (ows_contact *contact)
ows_contactows_contact_init ()
void ows_error (ows *o, enum ows_error_code code, char *message, char *locator)
void ows_flush (ows *o, FILE *output)
void ows_free (ows *o)
ows_geobboxows_geobbox_compute (ows *o, buffer *layer_name)
void ows_geobbox_flush (const ows_geobbox *g, FILE *output)
void ows_geobbox_free (ows_geobbox *g)
ows_geobboxows_geobbox_init ()
ows_geobboxows_geobbox_copy (ows_geobbox *g)
bool ows_geobbox_set (ows *o, ows_geobbox *g, double west, double east, double south, double north)
bool ows_geobbox_set_from_bbox (ows *o, ows_geobbox *g, ows_bbox *bb)
ows_geobboxows_geobbox_set_from_str (ows *o, ows_geobbox *g, char *str)
void ows_get_capabilities_dcpt (const ows *o, const char *req)
void ows_layer_flush (ows_layer *l, FILE *output)
void ows_layer_free (ows_layer *l)
bool ows_layer_in_list (const ows_layer_list *ll, buffer *name)
bufferows_layer_no_uri_to_uri (const ows_layer_list *ll, buffer *name_no_uri)
ows_layerows_layer_init ()
void ows_layer_list_add (ows_layer_list *ll, ows_layer *l)
listows_layer_list_by_ns_prefix (ows_layer_list *ll, list *layer_name_prefix, buffer *ns_prefix)
listows_layer_list_having_storage (const ows_layer_list *ll)
void ows_layer_list_flush (ows_layer_list *ll, FILE *output)
void ows_layer_list_free (ows_layer_list *ll)
bool ows_layer_list_in_list (const ows_layer_list *ll, const list *l)
ows_layer_listows_layer_list_init ()
arrayows_layer_list_namespaces (ows_layer_list *ll)
bufferows_layer_no_uri (ows_layer_list *ll, buffer *layer_name)
bufferows_layer_ns_prefix_to_ns_uri (ows_layer_list *ll, buffer *ns_prefix)
bufferows_layer_prefix_to_uri (ows_layer_list *ll, buffer *layer_name_prefix)
bufferows_layer_uri_to_prefix (ows_layer_list *ll, buffer *layer_name)
listows_layer_list_prefix_to_uri (ows_layer_list *ll, list *layer_name_prefix)
listows_layer_list_ns_prefix (ows_layer_list *ll, list *layer_name_prefix)
bool ows_layer_list_retrievable (const ows_layer_list *ll)
bool ows_layer_list_writable (const ows_layer_list *ll)
bool ows_layer_match_table (const ows *o, const buffer *name)
void ows_layer_node_free (ows_layer_list *ll, ows_layer_node *ln)
ows_layer_nodeows_layer_node_init ()
bufferows_layer_ns_prefix (ows_layer_list *ll, buffer *layer_name_prefix)
bool ows_layer_retrievable (const ows_layer_list *ll, const buffer *name)
bufferows_layer_ns_uri (ows_layer_list *ll, buffer *ns_prefix)
bool ows_layer_writable (const ows_layer_list *ll, const buffer *name)
void ows_metadata_fill (ows *o, array *cgi)
void ows_metadata_flush (ows_meta *metadata, FILE *output)
void ows_metadata_free (ows_meta *metadata)
ows_metaows_metadata_init ()
void ows_parse_config (ows *o, const char *filename)
ows_versionows_psql_postgis_version (ows *o)
PGresult * ows_psql_exec (ows *o, const char *sql)
bufferows_psql_column_name (ows *o, buffer *layer_name, int number)
arrayows_psql_describe_table (ows *o, buffer *layer_name)
listows_psql_geometry_column (ows *o, buffer *layer_name)
bufferows_psql_schema_name (ows *o, buffer *layer_name)
bufferows_psql_table_name (ows *o, buffer *layer_name)
bufferows_psql_id_column (ows *o, buffer *layer_name)
bufferows_psql_column_constraint_name (ows *o, buffer *column_name, buffer *table_name)
listows_psql_column_check_constraint (ows *o, buffer *constraint_name)
bufferows_psql_column_character_maximum_length (ows *o, buffer *column_name, buffer *table_name)
bool ows_psql_is_geometry_column (ows *o, buffer *layer_name, buffer *column)
bool ows_psql_is_geometry_valid (ows *o, buffer *geom)
listows_psql_not_null_properties (ows *o, buffer *layer_name)
bufferows_psql_timestamp_to_xml_time (char *timestamp)
char * ows_psql_to_xsd (buffer *type, enum wfs_format format)
bool ows_psql_is_numeric (buffer *type)
bufferows_psql_type (ows *o, buffer *layer_name, buffer *property)
bufferows_psql_generate_id (ows *o, buffer *layer_name)
int ows_psql_number_features (ows *o, list *from, list *where)
bufferows_psql_gml_to_sql (ows *o, xmlNodePtr n, const ows_srs *parent_srs)
char * ows_psql_escape_string (ows *o, const char *content)
int ows_psql_geometry_srid (ows *o, const char *geom)
void ows_request_check (ows *o, ows_request *or, const array *cgi, const char *query)
void ows_request_flush (ows_request *or, FILE *output)
void ows_request_free (ows_request *or)
ows_requestows_request_init ()
int ows_schema_validation (ows *o, buffer *xml_schema, buffer *xml, bool schema_is_file, enum ows_schema_type schema_type)
void ows_service_identification (const ows *o)
void ows_service_metadata (const ows *o)
void ows_service_provider (const ows *o)
void ows_srs_flush (ows_srs *c, FILE *output)
void ows_srs_free (ows_srs *c)
bufferows_srs_get_from_a_srid (ows *o, int srid)
listows_srs_get_from_srid (ows *o, list *l)
int ows_srs_get_srid_from_layer (ows *o, buffer *layer_name)
ows_srsows_srs_init ()
bool ows_srs_meter_units (ows *o, buffer *layer_name)
ows_srsows_srs_copy (ows_srs *d, ows_srs *s)
bool ows_srs_set_geobbox (ows *o, ows_srs *s)
bool ows_srs_set (ows *o, ows_srs *c, const buffer *auth_name, int auth_srid)
bool ows_srs_set_from_srid (ows *o, ows_srs *s, int srid)
bool ows_srs_set_from_srsname (ows *o, ows_srs *s, const char *srsname)
void ows_usage (ows *o)
void ows_version_flush (ows_version *v, FILE *output)
void ows_version_free (ows_version *v)
bool ows_version_check (ows_version *v)
bool ows_version_set_str (ows_version *v, char *str)
int ows_version_get (ows_version *v)
ows_versionows_version_init ()
void ows_version_set (ows_version *v, int major, int minor, int release)
void wfs (ows *o, wfs_request *wf)
void wfs_delete (ows *o, wfs_request *wr)
void wfs_describe_feature_type (ows *o, wfs_request *wr)
bufferwfs_generate_schema (ows *o, ows_version *version)
void wfs_error (ows *o, wfs_request *wf, enum wfs_error_code code, char *message, char *locator)
void wfs_get_capabilities (ows *o, wfs_request *wr)
void wfs_get_feature (ows *o, wfs_request *wr)
void wfs_gml_feature_member (ows *o, wfs_request *wr, buffer *layer_name, list *properties, PGresult *res)
void wfs_parse_operation (ows *o, wfs_request *wr, buffer *op)
void wfs_request_check (ows *o, wfs_request *wr, const array *cgi)
void wfs_request_flush (wfs_request *wr, FILE *output)
bufferwfs_request_remove_prop_ns_prefix (ows *o, buffer *prop, list *layer_name)
void wfs_request_free (wfs_request *wr)
wfs_requestwfs_request_init ()
ows_layer_storageows_layer_storage_init ()
void ows_layer_storage_free (ows_layer_storage *storage)
void ows_layer_storage_flush (ows_layer_storage *storage, FILE *output)
void ows_layers_storage_fill (ows *o)
ows_layerows_layer_get (const ows_layer_list *ll, const buffer *name)
void ows_layers_storage_flush (ows *o, FILE *output)
void ows_log (ows *o, int log_level, const char *log)
void ows_parse_config_mapfile (ows *o, const char *filename)
bool ows_libxml_check_namespace (ows *o, xmlNodePtr n)

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_flush()

void alist_flush ( const alist * al,
FILE * output )

◆ 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:

◆ array_add()

◆ array_flush()

void array_flush ( const array * a,
FILE * output )

◆ 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:

◆ buffer_add()

◆ buffer_add_double()

void buffer_add_double ( buffer * buf,
double f )

Definition at line 158 of file buffer.c.

References buffer_copy(), buffer_free(), and buffer_ftoa().

Referenced by ows_bbox_to_query().

Here is the call graph for this function:

◆ buffer_add_head()

void buffer_add_head ( buffer * buf,
char c )

Definition at line 217 of file buffer.c.

References Buffer::buf, buffer_realloc(), Buffer::size, and Buffer::use.

Referenced by buffer_add_head_str(), and ows_parse_config_layer().

Here is the call graph for this function:

◆ buffer_add_head_str()

void buffer_add_head_str ( buffer * buf,
char * str )

Definition at line 239 of file buffer.c.

References buffer_add_head().

Referenced by cgi_parse_xml(), ows_parse_config_layer(), wfs_gml_display_hits(), wfs_request_check_sortby(), and wfs_retrieve_typename().

Here is the call graph for this function:

◆ buffer_add_int()

◆ buffer_add_nstr()

void buffer_add_nstr ( buffer * buf,
const char * str,
size_t n )

Definition at line 271 of file buffer.c.

References Buffer::buf, buffer_realloc(), Buffer::size, and Buffer::use.

Referenced by list_split().

Here is the call graph for this function:

◆ buffer_add_str()

void buffer_add_str ( buffer * buf,
const char * str )

Definition at line 254 of file buffer.c.

References Buffer::buf, buffer_realloc(), Buffer::size, and Buffer::use.

Referenced by buffer_copy(), buffer_encode_json_str(), buffer_encode_xml_entities_str(), buffer_from_str(), buffer_replace(), cgi_add_att(), cgi_add_buffer(), cgi_add_into_buffer(), cgi_add_node(), cgi_add_sortby(), cgi_add_xml_into_buffer(), cgi_parse_xml(), fe_aggregate_functions(), fe_bbox(), fe_bbox_layer(), fe_binary_comparison_op(), fe_binary_logical_op(), fe_distance_functions(), fe_envelope(), fe_expression(), fe_fct_abs(), fe_fct_acos(), fe_fct_asin(), fe_fct_atan(), fe_fct_avg(), fe_fct_cbrt(), fe_fct_ceil(), fe_fct_cos(), fe_fct_cot(), fe_fct_count(), fe_fct_degrees(), fe_fct_exp(), fe_fct_floor(), fe_fct_length(), fe_fct_ln(), fe_fct_log(), fe_fct_max(), fe_fct_min(), fe_fct_radians(), fe_fct_round(), fe_fct_sin(), fe_fct_sqrt(), fe_fct_tan(), fe_fct_trunc(), fe_feature_id(), fe_filter(), fe_functions(), fe_functions_capabilities(), fe_kvp_bbox(), fe_kvp_featureid(), fe_property_is_between(), fe_property_is_like(), fe_property_is_null(), fe_spatial_functions(), fe_unary_logical_op(), fill_fe_error(), list_add_str(), list_implode(), main(), ows_bbox_boundaries(), ows_bbox_set_from_str(), ows_bbox_to_query(), ows_bbox_transform(), ows_geobbox_compute(), ows_layer_storage_fill(), ows_layers_storage_fill(), ows_parse_config_abstract(), ows_parse_config_contact(), ows_parse_config_layer(), ows_parse_config_metadata(), ows_parse_config_pg(), ows_parse_config_tinyows(), ows_psql_column_character_maximum_length(), ows_psql_column_check_constraint(), ows_psql_column_constraint_name(), ows_psql_column_name(), ows_psql_generate_id(), ows_psql_geometry_srid(), ows_psql_gml_to_sql(), ows_psql_is_geometry_valid(), ows_psql_number_features(), ows_psql_timestamp_to_xml_time(), ows_srs_get_from_a_srid(), ows_srs_set(), ows_srs_set_from_srid(), ows_srs_set_geobbox(), ows_storage_fill_attributes(), ows_storage_fill_not_null(), ows_storage_fill_pkey(), wfs_delete(), wfs_delete_xml(), wfs_execute_transaction_request(), wfs_generate_schema(), wfs_geojson_display_results(), wfs_get_capabilities_110(), wfs_gml_display_hits(), wfs_insert_xml(), wfs_parse_operation(), wfs_request_check_output(), wfs_request_check_resulttype(), wfs_request_check_sortby(), wfs_retrieve_sql_request_list(), wfs_retrieve_sql_request_select(), wfs_retrieve_typename(), wfs_retrieve_value(), and wfs_update_xml().

Here is the call graph for this function:

◆ buffer_case_cmp()

◆ buffer_chr()

long int buffer_chr ( const buffer * buf,
char c )

Definition at line 456 of file buffer.c.

References Buffer::buf, and Buffer::use.

Referenced by list_split().

◆ buffer_clone()

buffer * buffer_clone ( buffer * buf)

Definition at line 362 of file buffer.c.

References Buffer::buf, buffer_copy(), and buffer_init().

Here is the call graph for this function:

◆ buffer_cmp()

◆ buffer_copy()

◆ buffer_empty()

◆ buffer_encode_json_str()

buffer * buffer_encode_json_str ( const char * str)

Definition at line 544 of file buffer.c.

References buffer_add(), buffer_add_str(), and buffer_init().

Referenced by wfs_geojson_display_results().

Here is the call graph for this function:

◆ buffer_encode_xml_entities_str()

buffer * buffer_encode_xml_entities_str ( const char * str)

Definition at line 501 of file buffer.c.

References buffer_add(), buffer_add_str(), and buffer_init().

Referenced by wfs_gml_display_feature().

Here is the call graph for this function:

◆ buffer_flush()

void buffer_flush ( buffer * buf,
FILE * output )

Definition at line 112 of file buffer.c.

References Buffer::buf.

Referenced by wfs_complex_type(), wfs_describe_feature_type(), and wfs_feature_type_list().

◆ buffer_free()

void buffer_free ( buffer * buf)

Definition at line 83 of file buffer.c.

References Buffer::buf.

Referenced by alist_free(), array_free(), buffer_add_double(), buffer_add_int(), buffer_replace(), cgi_parse_kvp(), cgi_parse_xml(), fe_bbox(), fe_binary_comparison_op(), fe_distance_functions(), fe_envelope(), fe_feature_id(), fe_filter(), fe_functions_capabilities(), fe_property_is_between(), fe_property_is_like(), fe_property_name(), fe_spatial_functions(), fe_xpath_property_name(), filter_encoding_free(), list_node_free(), mlist_explode(), ows_bbox_boundaries(), ows_bbox_set_from_str(), ows_bbox_transform(), ows_contact_free(), ows_free(), ows_geobbox_compute(), ows_layer_free(), ows_layer_storage_fill(), ows_layer_storage_free(), ows_layers_storage_fill(), ows_metadata_fill(), ows_metadata_free(), ows_psql_column_character_maximum_length(), ows_psql_column_constraint_name(), ows_psql_column_name(), ows_psql_generate_id(), ows_psql_geometry_srid(), ows_psql_gml_to_sql(), ows_psql_is_geometry_valid(), ows_psql_number_features(), ows_request_check(), ows_srs_free(), ows_srs_get_from_a_srid(), ows_srs_set(), ows_srs_set_from_srid(), ows_storage_fill_attributes(), ows_storage_fill_not_null(), ows_storage_fill_pkey(), wfs_complex_type(), wfs_delete(), wfs_delete_xml(), wfs_execute_transaction_request(), wfs_feature_type_list(), wfs_geojson_display_results(), wfs_get_capabilities_110(), wfs_gml_display_feature(), wfs_gml_display_hits(), wfs_gml_display_results(), wfs_insert_xml(), wfs_parse_operation(), wfs_request_check_filter(), wfs_request_free(), wfs_retrieve_sql_request_list(), wfs_retrieve_value(), and wfs_update_xml().

◆ buffer_from_str()

buffer * buffer_from_str ( const char * str)

◆ buffer_ftoa()

buffer * buffer_ftoa ( double f)

Definition at line 138 of file buffer.c.

References Buffer::buf, buffer_init(), buffer_realloc(), Buffer::size, and Buffer::use.

Referenced by buffer_add_double(), and fe_distance_functions().

Here is the call graph for this function:

◆ buffer_init()

buffer * buffer_init ( )

Definition at line 61 of file buffer.c.

References Buffer::buf, BUFFER_SIZE_INIT, Buffer::realloc, Buffer::size, and Buffer::use.

Referenced by buffer_clone(), buffer_encode_json_str(), buffer_encode_xml_entities_str(), buffer_from_str(), buffer_ftoa(), buffer_itoa(), buffer_replace(), cgi_add_att(), cgi_add_buffer(), cgi_add_node(), cgi_add_sortby(), cgi_parse_kvp(), cgi_parse_xml(), fe_bbox(), fe_binary_comparison_op(), fe_distance_functions(), fe_envelope(), fe_feature_id(), fe_filter(), fe_functions_capabilities(), fe_kvp_bbox(), fe_kvp_featureid(), fe_property_is_between(), fe_property_is_like(), fill_fe_error(), filter_encoding_init(), list_add_by_copy(), list_add_list(), list_add_str(), list_explode(), list_explode_start_end(), list_explode_str(), list_explode_str_trim(), list_split(), main(), mlist_explode(), ows_bbox_boundaries(), ows_bbox_set_from_str(), ows_bbox_transform(), ows_geobbox_compute(), ows_init(), ows_layer_init(), ows_layer_list_namespaces(), ows_layer_storage_fill(), ows_layer_storage_init(), ows_layers_storage_fill(), ows_metadata_fill(), ows_parse_config_abstract(), ows_parse_config_contact(), ows_parse_config_layer(), ows_parse_config_metadata(), ows_parse_config_tinyows(), ows_psql_column_character_maximum_length(), ows_psql_column_check_constraint(), ows_psql_column_constraint_name(), ows_psql_column_name(), ows_psql_generate_id(), ows_psql_gml_to_sql(), ows_psql_is_geometry_valid(), ows_psql_number_features(), ows_psql_timestamp_to_xml_time(), ows_srs_get_from_a_srid(), ows_srs_init(), ows_srs_set(), ows_srs_set_from_srid(), ows_storage_fill_attributes(), ows_storage_fill_not_null(), ows_storage_fill_pkey(), wfs_delete(), wfs_delete_xml(), wfs_execute_transaction_request(), wfs_feature_type_list(), wfs_generate_schema(), wfs_geojson_display_results(), wfs_get_capabilities_110(), wfs_gml_display_results(), wfs_insert_xml(), wfs_parse_operation(), wfs_request_check_filter(), wfs_request_check_operation(), wfs_request_check_output(), wfs_request_check_resulttype(), wfs_request_check_sortby(), wfs_retrieve_sql_request_list(), wfs_retrieve_sql_request_select(), wfs_retrieve_typename(), and wfs_update_xml().

◆ buffer_itoa()

buffer * buffer_itoa ( int i)

Definition at line 188 of file buffer.c.

References Buffer::buf, buffer_init(), buffer_realloc(), Buffer::size, and Buffer::use.

Referenced by buffer_add_int().

Here is the call graph for this function:

◆ buffer_ncmp()

bool buffer_ncmp ( const buffer * buf,
const char * str,
size_t n )

◆ buffer_pop()

void buffer_pop ( buffer * buf,
size_t len )

Definition at line 379 of file buffer.c.

References Buffer::buf, and Buffer::use.

Referenced by buffer_replace(), cgi_add_buffer(), fe_binary_comparison_op(), and fe_xpath_property_name().

◆ buffer_rchr()

long int buffer_rchr ( const buffer * buf,
char c )

Definition at line 475 of file buffer.c.

References Buffer::buf, and Buffer::use.

Referenced by list_split().

◆ buffer_replace()

buffer * buffer_replace ( buffer * buf,
char * before,
char * after )

◆ buffer_shift()

◆ cgi_add_xml_into_buffer()

buffer * cgi_add_xml_into_buffer ( buffer * element,
xmlNodePtr n )

Definition at line 401 of file cgi_request.c.

References buffer_add_str().

Referenced by cgi_parse_xml(), ows_psql_gml_to_sql(), wfs_delete_xml(), and wfs_update_xml().

Here is the call graph for this function:

◆ cgi_getback_query()

char * cgi_getback_query ( ows * o)

Definition at line 68 of file cgi_request.c.

References cgi_method_get(), cgi_method_post(), ows_error(), and OWS_ERROR_REQUEST_HTTP.

Referenced by main().

Here is the call graph for this function:

◆ cgi_method_get()

bool cgi_method_get ( )

◆ cgi_method_post()

bool cgi_method_post ( )

Definition at line 55 of file cgi_request.c.

Referenced by cgi_getback_query(), main(), ows_kvp_or_xml(), and ows_request_check().

◆ cgi_parse_kvp()

◆ cgi_parse_xml()

◆ check_regexp()

◆ fe_comparison_op()

buffer * fe_comparison_op ( ows * o,
buffer * typename,
filter_encoding * fe,
xmlNodePtr n )

◆ fe_envelope()

◆ fe_error()

◆ fe_expression()

buffer * fe_expression ( ows * o,
buffer * typename,
filter_encoding * fe,
buffer * sql,
xmlNodePtr n )

◆ fe_feature_id()

◆ fe_filter()

◆ fe_filter_capabilities_100()

void fe_filter_capabilities_100 ( const ows * o)

Definition at line 85 of file fe_filter_capabilities.c.

References fe_functions_capabilities(), and Ows::output.

Referenced by wfs_get_capabilities_100().

Here is the call graph for this function:

◆ fe_filter_capabilities_110()

void fe_filter_capabilities_110 ( const ows * o)

Definition at line 131 of file fe_filter_capabilities.c.

References fe_functions_capabilities(), Ows::output, ows_version_get(), and Ows::postgis_version.

Referenced by wfs_get_capabilities_110().

Here is the call graph for this function:

◆ fe_function()

◆ fe_is_comparison_op()

bool fe_is_comparison_op ( char * name)

Definition at line 295 of file fe_comparison_ops.c.

Referenced by fe_binary_logical_op(), fe_filter(), and fe_unary_logical_op().

◆ fe_is_logical_op()

bool fe_is_logical_op ( char * name)

Definition at line 36 of file fe_logical_ops.c.

Referenced by fe_binary_logical_op(), fe_filter(), and fe_unary_logical_op().

◆ fe_is_spatial_op()

bool fe_is_spatial_op ( char * name)

Definition at line 35 of file fe_spatial_ops.c.

Referenced by fe_binary_logical_op(), fe_filter(), and fe_unary_logical_op().

◆ fe_kvp_bbox()

buffer * fe_kvp_bbox ( ows * o,
wfs_request * wr,
buffer * layer_name,
ows_bbox * bbox )

◆ fe_kvp_featureid()

buffer * fe_kvp_featureid ( ows * o,
wfs_request * wr,
buffer * layer_name,
list * fid )

◆ fe_logical_op()

buffer * fe_logical_op ( ows * o,
buffer * typename,
filter_encoding * fe,
xmlNodePtr n )

Definition at line 127 of file fe_logical_ops.c.

References Filter_encoding::error_code, fe_binary_logical_op(), FE_ERROR_FILTER, fe_unary_logical_op(), and Filter_encoding::sql.

Referenced by fe_binary_logical_op(), fe_filter(), and fe_unary_logical_op().

Here is the call graph for this function:

◆ fe_node_flush()

void fe_node_flush ( xmlNodePtr node,
FILE * output )

◆ fe_property_name()

◆ fe_spatial_op()

buffer * fe_spatial_op ( ows * o,
buffer * typename,
filter_encoding * fe,
xmlNodePtr n )

◆ fe_xpath_property_name()

buffer * fe_xpath_property_name ( ows * o,
buffer * typename,
buffer * property )

Definition at line 186 of file fe_filter.c.

References Buffer::buf, buffer_copy(), buffer_empty(), buffer_free(), buffer_pop(), buffer_shift(), check_regexp(), and ows_psql_column_name().

Referenced by fe_property_name(), and wfs_request_check_propertyname().

Here is the call graph for this function:

◆ fill_fe_error()

◆ filter_encoding_flush()

void filter_encoding_flush ( filter_encoding * fe,
FILE * output )

◆ filter_encoding_free()

void filter_encoding_free ( filter_encoding * fe)

Definition at line 54 of file fe_filter.c.

References buffer_free(), and Filter_encoding::sql.

Referenced by fe_error(), wfs_delete(), wfs_delete_xml(), wfs_insert_xml(), wfs_retrieve_sql_request_list(), and wfs_update_xml().

Here is the call graph for this function:

◆ filter_encoding_init()

◆ in_list()

bool in_list ( const list * l,
const buffer * value )

◆ in_list_str()

bool in_list_str ( const list * l,
const char * value )

◆ list_add()

◆ list_add_by_copy()

◆ list_add_list()

void list_add_list ( list * l,
list * l_to_add )

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().

Here is the call graph for this function:

◆ list_add_str()

void list_add_str ( list * l,
char * value )

◆ list_explode()

◆ list_explode_start_end()

list * list_explode_start_end ( char separator_start,
char separator_end,
buffer * value )

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().

Here is the call graph for this function:

◆ list_explode_str()

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().

Here is the call graph for this function:

◆ list_explode_str_trim()

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().

Here is the call graph for this function:

◆ list_flush()

void list_flush ( const list * l,
FILE * output )

◆ list_free()

◆ list_implode()

void list_implode ( buffer * buf,
const char * separator,
const list * l )

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().

Here is the call graph for this function:

◆ list_init()

◆ list_node_free()

void list_node_free ( list * l,
list_node * ln )

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().

Here is the call graph for this function:

◆ list_node_init()

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().

◆ list_pop()

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().

Here is the call graph for this function:

◆ list_split()

list * list_split ( char separator,
const buffer * value,
bool reverse )

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().

Here is the call graph for this function:

◆ main()

◆ mlist_add()

void mlist_add ( mlist * ml,
list * value )

Definition at line 71 of file mlist.c.

References Mlist::first, Mlist::last, mlist_node_init(), Mlist_node::next, Mlist_node::prev, Mlist::size, and Mlist_node::value.

Referenced by mlist_explode(), and wfs_retrieve_sql_request_list().

Here is the call graph for this function:

◆ mlist_explode()

mlist * mlist_explode ( char separator_start,
char separator_end,
buffer * value )

Definition at line 144 of file mlist.c.

References Buffer::buf, buffer_add(), buffer_free(), buffer_init(), list_explode(), mlist_add(), mlist_init(), and Buffer::use.

Referenced by wfs_request_check_fid(), and wfs_request_check_propertyname().

Here is the call graph for this function:

◆ mlist_flush()

void mlist_flush ( const mlist * ml,
FILE * output )

◆ mlist_free()

void mlist_free ( mlist * ml)

Definition at line 54 of file mlist.c.

References Mlist::first, Mlist::last, and mlist_node_free().

Referenced by wfs_get_feature(), wfs_request_check_fid(), wfs_request_check_propertyname(), and wfs_request_free().

Here is the call graph for this function:

◆ mlist_init()

mlist * mlist_init ( )

Definition at line 36 of file mlist.c.

References Mlist::first, Mlist::last, and Mlist::size.

Referenced by mlist_explode(), and wfs_retrieve_sql_request_list().

◆ mlist_node_free()

void mlist_node_free ( mlist * ml,
mlist_node * mln )

Definition at line 118 of file mlist.c.

References Mlist::first, list_free(), Mlist_node::next, Mlist_node::prev, and Mlist_node::value.

Referenced by mlist_free().

Here is the call graph for this function:

◆ mlist_node_init()

mlist_node * mlist_node_init ( )

Definition at line 100 of file mlist.c.

References Mlist_node::next, Mlist_node::prev, and Mlist_node::value.

Referenced by mlist_add().

◆ ows_bbox_boundaries()

◆ ows_bbox_flush()

void ows_bbox_flush ( const ows_bbox * b,
FILE * output )

◆ ows_bbox_free()

void ows_bbox_free ( ows_bbox * b)

Definition at line 58 of file ows_bbox.c.

References ows_srs_free(), and Ows_bbox::srs.

Referenced by fe_envelope(), ows_geobbox_compute(), ows_geobbox_set_from_str(), wfs_gml_display_results(), wfs_request_free(), and wfs_retrieve_sql_request_list().

Here is the call graph for this function:

◆ ows_bbox_init()

◆ ows_bbox_set()

bool ows_bbox_set ( ows * o,
ows_bbox * b,
double xmin,
double ymin,
double xmax,
double ymax,
int srid )

Definition at line 71 of file ows_bbox.c.

References ows_srs_set_from_srid(), ows_srs_set_geobbox(), Ows_bbox::srs, Ows_bbox::xmax, Ows_bbox::xmin, Ows_bbox::ymax, and Ows_bbox::ymin.

Referenced by fe_envelope(), ows_bbox_set_from_str(), and ows_geobbox_compute().

Here is the call graph for this function:

◆ ows_bbox_set_from_geobbox()

bool ows_bbox_set_from_geobbox ( ows * o,
ows_bbox * bb,
ows_geobbox * geo )

◆ ows_bbox_set_from_str()

bool ows_bbox_set_from_str ( ows * o,
ows_bbox * bb,
const char * str,
int srid,
bool honours_authority_axis_order_if_no_explicit_srs )

◆ ows_bbox_to_query()

◆ ows_bbox_transform()

bool ows_bbox_transform ( ows * o,
ows_bbox * bb,
int srid )

◆ ows_contact_flush()

void ows_contact_flush ( ows_contact * contact,
FILE * output )

◆ ows_contact_free()

◆ ows_contact_init()

◆ ows_error()

◆ ows_flush()

void ows_flush ( ows * o,
FILE * output )

◆ ows_free()

◆ ows_geobbox_compute()

◆ ows_geobbox_copy()

ows_geobbox * ows_geobbox_copy ( ows_geobbox * g)

Definition at line 56 of file ows_geobbox.c.

Referenced by ows_parse_config_layer().

◆ ows_geobbox_flush()

void ows_geobbox_flush ( const ows_geobbox * g,
FILE * output )

◆ ows_geobbox_free()

void ows_geobbox_free ( ows_geobbox * g)

◆ ows_geobbox_init()

◆ ows_geobbox_set()

bool ows_geobbox_set ( ows * o,
ows_geobbox * g,
double west,
double east,
double south,
double north )

◆ ows_geobbox_set_from_bbox()

bool ows_geobbox_set_from_bbox ( ows * o,
ows_geobbox * g,
ows_bbox * bb )

Definition at line 108 of file ows_geobbox.c.

References ows_geobbox_set(), Ows_bbox::xmax, Ows_bbox::xmin, Ows_bbox::ymax, and Ows_bbox::ymin.

Referenced by ows_geobbox_compute(), and ows_geobbox_set_from_str().

Here is the call graph for this function:

◆ ows_geobbox_set_from_str()

ows_geobbox * ows_geobbox_set_from_str ( ows * o,
ows_geobbox * g,
char * str )

Definition at line 134 of file ows_geobbox.c.

References ows_bbox_free(), ows_bbox_init(), ows_bbox_set_from_str(), and ows_geobbox_set_from_bbox().

Referenced by ows_parse_config_layer(), and ows_parse_config_limits().

Here is the call graph for this function:

◆ ows_get_capabilities_dcpt()

void ows_get_capabilities_dcpt ( const ows * o,
const char * req )

Definition at line 37 of file ows_get_capabilities.c.

References Buffer::buf, Ows::online_resource, and Ows::output.

Referenced by wfs_operations_metadata().

◆ ows_layer_flush()

void ows_layer_flush ( ows_layer * l,
FILE * output )

◆ ows_layer_free()

◆ ows_layer_get()

◆ ows_layer_in_list()

bool ows_layer_in_list ( const ows_layer_list * ll,
buffer * name )

◆ ows_layer_init()

◆ ows_layer_list_add()

void ows_layer_list_add ( ows_layer_list * ll,
ows_layer * l )

Definition at line 440 of file ows_layer.c.

References Ows_layer_list::first, Ows_layer_list::last, Ows_layer_node::layer, Ows_layer_node::next, ows_layer_node_init(), and Ows_layer_node::prev.

Referenced by ows_parse_config_layer().

Here is the call graph for this function:

◆ ows_layer_list_by_ns_prefix()

list * ows_layer_list_by_ns_prefix ( ows_layer_list * ll,
list * layer_name_prefix,
buffer * ns_prefix )

Definition at line 255 of file ows_layer.c.

References Buffer::buf, buffer_cmp(), List::first, list_add_by_copy(), list_init(), List_node::next, ows_layer_ns_prefix(), and List_node::value.

Referenced by wfs_describe_feature_type(), and wfs_generate_schema().

Here is the call graph for this function:

◆ ows_layer_list_flush()

void ows_layer_list_flush ( ows_layer_list * ll,
FILE * output )

◆ ows_layer_list_free()

void ows_layer_list_free ( ows_layer_list * ll)

Definition at line 52 of file ows_layer.c.

References Ows_layer_list::first, Ows_layer_list::last, and ows_layer_node_free().

Referenced by ows_free().

Here is the call graph for this function:

◆ ows_layer_list_having_storage()

list * ows_layer_list_having_storage ( const ows_layer_list * ll)

Definition at line 105 of file ows_layer.c.

References Ows_layer_list::first, Ows_layer_node::layer, list_add_by_copy(), list_init(), Ows_layer::name, Ows_layer_node::next, and Ows_layer::storage.

Referenced by wfs_generate_schema().

Here is the call graph for this function:

◆ ows_layer_list_in_list()

bool ows_layer_list_in_list ( const ows_layer_list * ll,
const list * l )

Definition at line 211 of file ows_layer.c.

References List::first, List_node::next, ows_layer_in_list(), and List_node::value.

Here is the call graph for this function:

◆ ows_layer_list_init()

ows_layer_list * ows_layer_list_init ( )

Definition at line 36 of file ows_layer.c.

References Ows_layer_list::first, and Ows_layer_list::last.

Referenced by ows_parse_config_xml().

◆ ows_layer_list_namespaces()

◆ ows_layer_list_ns_prefix()

list * ows_layer_list_ns_prefix ( ows_layer_list * ll,
list * layer_name_prefix )

◆ ows_layer_list_prefix_to_uri()

list * ows_layer_list_prefix_to_uri ( ows_layer_list * ll,
list * layer_name_prefix )

Definition at line 308 of file ows_layer.c.

References List::first, list_add_by_copy(), list_init(), List_node::next, ows_layer_prefix_to_uri(), and List_node::value.

Referenced by wfs_describe_feature_type().

Here is the call graph for this function:

◆ ows_layer_list_retrievable()

bool ows_layer_list_retrievable ( const ows_layer_list * ll)

◆ ows_layer_list_writable()

bool ows_layer_list_writable ( const ows_layer_list * ll)

◆ ows_layer_match_table()

◆ ows_layer_no_uri()

◆ ows_layer_no_uri_to_uri()

buffer * ows_layer_no_uri_to_uri ( const ows_layer_list * ll,
buffer * name_no_uri )

◆ ows_layer_node_free()

void ows_layer_node_free ( ows_layer_list * ll,
ows_layer_node * ln )

Definition at line 477 of file ows_layer.c.

References Ows_layer_list::first, Ows_layer_node::layer, Ows_layer_node::next, ows_layer_free(), and Ows_layer_node::prev.

Referenced by ows_layer_list_free().

Here is the call graph for this function:

◆ ows_layer_node_init()

ows_layer_node * ows_layer_node_init ( )

Definition at line 461 of file ows_layer.c.

References Ows_layer_node::layer, Ows_layer_node::next, and Ows_layer_node::prev.

Referenced by ows_layer_list_add().

◆ ows_layer_ns_prefix()

buffer * ows_layer_ns_prefix ( ows_layer_list * ll,
buffer * layer_name_prefix )

◆ ows_layer_ns_prefix_to_ns_uri()

buffer * ows_layer_ns_prefix_to_ns_uri ( ows_layer_list * ll,
buffer * ns_prefix )

Definition at line 359 of file ows_layer.c.

References Buffer::buf, buffer_cmp(), Ows_layer_list::first, Ows_layer_node::layer, Ows_layer_node::next, Ows_layer::ns_prefix, and Ows_layer::ns_uri.

Referenced by wfs_describe_feature_type(), and wfs_generate_schema().

Here is the call graph for this function:

◆ ows_layer_ns_uri()

buffer * ows_layer_ns_uri ( ows_layer_list * ll,
buffer * ns_prefix )

Definition at line 424 of file ows_layer.c.

References Buffer::buf, buffer_cmp(), Ows_layer_list::first, Ows_layer_node::layer, Ows_layer::name, Ows_layer_node::next, and Ows_layer::ns_uri.

Referenced by wfs_insert_xml().

Here is the call graph for this function:

◆ ows_layer_prefix_to_uri()

◆ ows_layer_retrievable()

bool ows_layer_retrievable ( const ows_layer_list * ll,
const buffer * name )

◆ ows_layer_storage_flush()

void ows_layer_storage_flush ( ows_layer_storage * storage,
FILE * output )

◆ ows_layer_storage_free()

◆ ows_layer_storage_init()

◆ ows_layer_uri_to_prefix()

◆ ows_layer_writable()

◆ ows_layers_storage_fill()

◆ ows_layers_storage_flush()

◆ ows_libxml_check_namespace()

bool ows_libxml_check_namespace ( ows * o,
xmlNodePtr n )

Definition at line 67 of file ows_libxml.c.

References ows_libxml_check_namespace(), and ows_libxml_check_namespace_node().

Referenced by fe_filter(), ows_libxml_check_namespace(), and ows_schema_validation().

Here is the call graph for this function:

◆ ows_log()

void ows_log ( ows * o,
int log_level,
const char * log )

◆ ows_metadata_fill()

void ows_metadata_fill ( ows * o,
array * cgi )

◆ ows_metadata_flush()

void ows_metadata_flush ( ows_meta * metadata,
FILE * output )

◆ ows_metadata_free()

void ows_metadata_free ( ows_meta * metadata)

◆ ows_metadata_init()

◆ ows_parse_config()

void ows_parse_config ( ows * o,
const char * filename )

Definition at line 702 of file ows_config.c.

References Ows::exit, Ows::mapfile, ows_config_check(), ows_parse_config_mapfile(), and ows_parse_config_xml().

Referenced by main().

Here is the call graph for this function:

◆ ows_parse_config_mapfile()

void ows_parse_config_mapfile ( ows * o,
const char * filename )

Referenced by ows_parse_config().

◆ ows_psql_column_character_maximum_length()

buffer * ows_psql_column_character_maximum_length ( ows * o,
buffer * column_name,
buffer * table_name )

Definition at line 335 of file ows_psql.c.

References Buffer::buf, buffer_add_str(), buffer_free(), buffer_init(), and ows_psql_exec().

Referenced by wfs_complex_type().

Here is the call graph for this function:

◆ ows_psql_column_check_constraint()

list * ows_psql_column_check_constraint ( ows * o,
buffer * constraint_name )

Definition at line 244 of file ows_psql.c.

References Buffer::buf, buffer_add(), buffer_add_str(), buffer_init(), list_add(), list_init(), and ows_psql_exec().

Referenced by wfs_complex_type().

Here is the call graph for this function:

◆ ows_psql_column_constraint_name()

buffer * ows_psql_column_constraint_name ( ows * o,
buffer * column_name,
buffer * table_name )

Definition at line 206 of file ows_psql.c.

References Buffer::buf, buffer_add_str(), buffer_free(), buffer_init(), and ows_psql_exec().

Referenced by wfs_complex_type().

Here is the call graph for this function:

◆ ows_psql_column_name()

buffer * ows_psql_column_name ( ows * o,
buffer * layer_name,
int number )

Definition at line 299 of file ows_psql.c.

References Buffer::buf, buffer_add_int(), buffer_add_str(), buffer_copy(), buffer_free(), buffer_init(), and ows_psql_exec().

Referenced by fe_xpath_property_name().

Here is the call graph for this function:

◆ ows_psql_describe_table()

◆ ows_psql_escape_string()

char * ows_psql_escape_string ( ows * o,
const char * content )

◆ ows_psql_exec()

◆ ows_psql_generate_id()

◆ ows_psql_geometry_column()

◆ ows_psql_geometry_srid()

int ows_psql_geometry_srid ( ows * o,
const char * geom )

Definition at line 861 of file ows_psql.c.

References Buffer::buf, buffer_add_str(), buffer_free(), buffer_from_str(), ows_psql_exec(), and Ows::pg.

Referenced by fe_spatial_functions().

Here is the call graph for this function:

◆ ows_psql_gml_to_sql()

◆ ows_psql_id_column()

◆ ows_psql_is_geometry_column()

bool ows_psql_is_geometry_column ( ows * o,
buffer * layer_name,
buffer * column )

◆ ows_psql_is_geometry_valid()

bool ows_psql_is_geometry_valid ( ows * o,
buffer * geom )

Definition at line 136 of file ows_psql.c.

References Buffer::buf, buffer_add_str(), buffer_copy(), buffer_free(), buffer_init(), and ows_psql_exec().

Here is the call graph for this function:

◆ ows_psql_is_numeric()

bool ows_psql_is_numeric ( buffer * type)

Definition at line 426 of file ows_psql.c.

References buffer_cmp(), and buffer_ncmp().

Referenced by fe_property_name().

Here is the call graph for this function:

◆ ows_psql_not_null_properties()

◆ ows_psql_number_features()

int ows_psql_number_features ( ows * o,
list * from,
list * where )

Definition at line 641 of file ows_psql.c.

References Buffer::buf, buffer_add_str(), buffer_copy(), buffer_free(), buffer_init(), List::first, List_node::next, ows_psql_exec(), List::size, and List_node::value.

Here is the call graph for this function:

◆ ows_psql_postgis_version()

ows_version * ows_psql_postgis_version ( ows * o)

◆ ows_psql_schema_name()

◆ ows_psql_table_name()

◆ ows_psql_timestamp_to_xml_time()

buffer * ows_psql_timestamp_to_xml_time ( char * timestamp)

Definition at line 489 of file ows_psql.c.

References Buffer::buf, buffer_add_str(), buffer_init(), buffer_replace(), check_regexp(), and Buffer::use.

Referenced by wfs_gml_display_feature(), and wfs_gml_display_hits().

Here is the call graph for this function:

◆ ows_psql_to_xsd()

char * ows_psql_to_xsd ( buffer * type,
enum wfs_format format )

Definition at line 445 of file ows_psql.c.

References buffer_case_cmp(), buffer_cmp(), buffer_ncmp(), and WFS_GML212.

Referenced by wfs_complex_type().

Here is the call graph for this function:

◆ ows_psql_type()

buffer * ows_psql_type ( ows * o,
buffer * layer_name,
buffer * property )

◆ ows_request_check()

◆ ows_request_flush()

void ows_request_flush ( ows_request * or,
FILE * output )

◆ ows_request_free()

void ows_request_free ( ows_request * or)

Definition at line 57 of file ows_request.c.

References OWS_SERVICE_UNKNOWN, ows_version_free(), Ows_request::request, Ows_request::service, Ows_request::version, WFS, Ows_request::wfs, and wfs_request_free().

Referenced by main(), and ows_free().

Here is the call graph for this function:

◆ ows_request_init()

◆ ows_schema_validation()

int ows_schema_validation ( ows * o,
buffer * xml_schema,
buffer * xml,
bool schema_is_file,
enum ows_schema_type schema_type )

◆ ows_service_identification()

◆ ows_service_metadata()

◆ ows_service_provider()

◆ ows_srs_copy()

ows_srs * ows_srs_copy ( ows_srs * d,
ows_srs * s )

◆ ows_srs_flush()

void ows_srs_flush ( ows_srs * c,
FILE * output )

◆ ows_srs_free()

void ows_srs_free ( ows_srs * c)

Definition at line 76 of file ows_srs.c.

References Ows_srs::auth_name, and buffer_free().

Referenced by fe_envelope(), fe_spatial_functions(), ows_bbox_free(), ows_bbox_set_from_str(), ows_psql_gml_to_sql(), wfs_insert_xml(), wfs_request_free(), and wfs_update_xml().

Here is the call graph for this function:

◆ ows_srs_get_from_a_srid()

buffer * ows_srs_get_from_a_srid ( ows * o,
int srid )

Definition at line 423 of file ows_srs.c.

References Buffer::buf, buffer_add_int(), buffer_add_str(), buffer_free(), buffer_init(), and ows_psql_exec().

Referenced by ows_srs_get_from_srid(), and wfs_feature_type_list().

Here is the call graph for this function:

◆ ows_srs_get_from_srid()

list * ows_srs_get_from_srid ( ows * o,
list * l )

Definition at line 398 of file ows_srs.c.

References Buffer::buf, List::first, list_add(), list_init(), List_node::next, ows_srs_get_from_a_srid(), List::size, and List_node::value.

Here is the call graph for this function:

◆ ows_srs_get_srid_from_layer()

◆ ows_srs_init()

◆ ows_srs_meter_units()

◆ ows_srs_set()

bool ows_srs_set ( ows * o,
ows_srs * c,
const buffer * auth_name,
int auth_srid )

◆ ows_srs_set_from_srid()

◆ ows_srs_set_from_srsname()

bool ows_srs_set_from_srsname ( ows * o,
ows_srs * s,
const char * srsname )

◆ ows_srs_set_geobbox()

bool ows_srs_set_geobbox ( ows * o,
ows_srs * s )

◆ ows_usage()

◆ ows_version_check()

bool ows_version_check ( ows_version * v)

Definition at line 114 of file ows_version.c.

References Ows_version::major, Ows_version::minor, and Ows_version::release.

Referenced by ows_config_check().

◆ ows_version_flush()

void ows_version_flush ( ows_version * v,
FILE * output )

◆ ows_version_free()

void ows_version_free ( ows_version * v)

Definition at line 94 of file ows_version.c.

Referenced by ows_free(), and ows_request_free().

◆ ows_version_get()

◆ ows_version_init()

ows_version * ows_version_init ( )

◆ ows_version_set()

void ows_version_set ( ows_version * v,
int major,
int minor,
int release )

◆ ows_version_set_str()

bool ows_version_set_str ( ows_version * v,
char * str )

Definition at line 61 of file ows_version.c.

References check_regexp(), Ows_version::major, Ows_version::minor, and Ows_version::release.

Referenced by ows_parse_config_tinyows().

Here is the call graph for this function:

◆ wfs()

◆ wfs_delete()

◆ wfs_describe_feature_type()

◆ wfs_error()

◆ wfs_generate_schema()

◆ wfs_get_capabilities()

void wfs_get_capabilities ( ows * o,
wfs_request * wr )

Definition at line 581 of file wfs_get_capabilities.c.

References ows_version_get(), Ows::request, Ows_request::version, wfs_get_capabilities_100(), and wfs_get_capabilities_110().

Referenced by wfs().

Here is the call graph for this function:

◆ wfs_get_feature()

void wfs_get_feature ( ows * o,
wfs_request * wr )

◆ wfs_gml_feature_member()

◆ wfs_parse_operation()

◆ wfs_request_check()

◆ wfs_request_flush()

void wfs_request_flush ( wfs_request * wr,
FILE * output )

◆ wfs_request_free()

void wfs_request_free ( wfs_request * wr)

Definition at line 168 of file wfs_request.c.

References alist_free(), buffer_free(), list_free(), mlist_free(), ows_bbox_free(), and ows_srs_free().

Referenced by ows_request_free().

Here is the call graph for this function:

◆ wfs_request_init()

wfs_request * wfs_request_init ( )

Definition at line 36 of file wfs_request.c.

References WFS_FORMAT_UNKNOWN, and WFS_REQUEST_UNKNOWN.

Referenced by main().

◆ wfs_request_remove_prop_ns_prefix()

buffer * wfs_request_remove_prop_ns_prefix ( ows * o,
buffer * prop,
list * layer_name )

Generated for tinyows by doxygen 1.14.0