tinyows 1.2.2
|
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <ctype.h>
#include "../ows/ows.h"
Go to the source code of this file.
Macros | |
#define | CGI_QUERY_MAX 1000000 |
Functions | |
bool | cgi_method_get () |
bool | cgi_method_post () |
char * | cgi_getback_query (ows *o) |
static char | cgi_hexatochar (char *what) |
static void | cgi_unescape_url (char *url) |
static void | cgi_plustospace (char *str) |
static void | cgi_remove_crlf (char *str) |
array * | cgi_parse_kvp (ows *o, char *query) |
static array * | cgi_add_node (array *arr, xmlNodePtr n) |
static array * | cgi_add_att (array *arr, xmlAttr *att) |
static array * | cgi_add_sortby (array *arr, xmlNodePtr n) |
static array * | cgi_add_buffer (array *arr, buffer *b, char *name) |
static buffer * | cgi_add_into_buffer (buffer *b, xmlNodePtr n, bool need_comma) |
buffer * | cgi_add_xml_into_buffer (buffer *element, xmlNodePtr n) |
static bool | is_node_ns_wfs (xmlNodePtr n) |
array * | cgi_parse_xml (ows *o, char *query) |
#define CGI_QUERY_MAX 1000000 |
Definition at line 36 of file cgi_request.c.
Definition at line 274 of file cgi_request.c.
References array_add(), buffer_add_str(), and buffer_init().
Referenced by cgi_parse_xml().
Definition at line 353 of file cgi_request.c.
References array_add(), Buffer::buf, buffer_add_str(), buffer_copy(), buffer_init(), buffer_pop(), buffer_shift(), and check_regexp().
Referenced by cgi_parse_xml().
Definition at line 381 of file cgi_request.c.
References buffer_add_str().
Referenced by cgi_parse_xml().
Definition at line 249 of file cgi_request.c.
References array_add(), buffer_add_str(), and buffer_init().
Referenced by cgi_parse_xml().
Definition at line 299 of file cgi_request.c.
References array_add(), buffer_add_str(), and buffer_init().
Referenced by cgi_parse_xml().
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().
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().
|
static |
Definition at line 102 of file cgi_request.c.
Referenced by cgi_unescape_url().
bool cgi_method_get | ( | ) |
Definition at line 42 of file cgi_request.c.
Referenced by cgi_getback_query(), ows_kvp_or_xml(), ows_request_check(), wfs(), wfs_request_check(), and wfs_transaction_insert_result().
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().
Definition at line 159 of file cgi_request.c.
References array_add(), array_free(), array_init(), buffer_add(), buffer_case_cmp(), buffer_cmp(), buffer_free(), buffer_init(), cgi_plustospace(), CGI_QUERY_MAX, cgi_remove_crlf(), cgi_unescape_url(), check_regexp(), ows_error(), OWS_ERROR_MISSING_PARAMETER_VALUE, and OWS_ERROR_REQUEST_HTTP.
Referenced by main().
Definition at line 437 of file cgi_request.c.
References array_add(), array_free(), array_get_key(), array_init(), array_is_value(), Buffer::buf, buffer_add_head_str(), buffer_add_str(), buffer_free(), buffer_from_str(), buffer_init(), buffer_shift(), cgi_add_att(), cgi_add_buffer(), cgi_add_into_buffer(), cgi_add_node(), cgi_add_sortby(), cgi_add_xml_into_buffer(), check_regexp(), is_node_ns_wfs(), Ows::layers, ows_error(), OWS_ERROR_INVALID_PARAMETER_VALUE, ows_layer_list_namespaces(), and Buffer::use.
Referenced by main().
|
static |
Definition at line 135 of file cgi_request.c.
Referenced by cgi_parse_kvp().
|
static |
Definition at line 146 of file cgi_request.c.
Referenced by cgi_parse_kvp().
|
static |
Definition at line 117 of file cgi_request.c.
References cgi_hexatochar().
Referenced by cgi_parse_kvp().
|
static |
Definition at line 426 of file cgi_request.c.
Referenced by cgi_parse_xml().