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

Go to the source code of this file.

Functions

static bufferwfs_execute_transaction_request (ows *o, wfs_request *wr, buffer *sql)
 
static void wfs_transaction_summary (ows *o, wfs_request *wr, buffer *result)
 
static void wfs_transaction_insert_result (ows *o, wfs_request *wr, buffer *result)
 
static void wfs_transaction_result (ows *o, wfs_request *wr, buffer *result, buffer *locator)
 
static void wfs_transaction_response (ows *o, wfs_request *wr, buffer *result, buffer *locator)
 
static bufferwfs_retrieve_value (ows *o, wfs_request *wr, buffer *value, xmlDocPtr xmldoc, xmlNodePtr n)
 
static bufferwfs_retrieve_typename (ows *o, wfs_request *wr, xmlNodePtr n)
 
static bufferwfs_insert_xml (ows *o, wfs_request *wr, xmlDocPtr xmldoc, xmlNodePtr n)
 
void wfs_delete (ows *o, wfs_request *wr)
 
static bufferwfs_delete_xml (ows *o, wfs_request *wr, xmlNodePtr n)
 
static bufferwfs_update_xml (ows *o, wfs_request *wr, xmlDocPtr xmldoc, xmlNodePtr n)
 
void wfs_parse_operation (ows *o, wfs_request *wr, buffer *op)
 

Function Documentation

◆ wfs_delete()

◆ wfs_delete_xml()

◆ wfs_execute_transaction_request()

static buffer * wfs_execute_transaction_request ( ows o,
wfs_request wr,
buffer sql 
)
static

◆ wfs_insert_xml()

◆ wfs_parse_operation()

◆ wfs_retrieve_typename()

static buffer * wfs_retrieve_typename ( ows o,
wfs_request wr,
xmlNodePtr  n 
)
static

◆ wfs_retrieve_value()

static buffer * wfs_retrieve_value ( ows o,
wfs_request wr,
buffer value,
xmlDocPtr  xmldoc,
xmlNodePtr  n 
)
static

Definition at line 238 of file wfs_transaction.c.

References buffer_add_str(), buffer_free(), ows_error(), OWS_ERROR_FORBIDDEN_CHARACTER, and ows_psql_escape_string().

Referenced by wfs_insert_xml(), and wfs_update_xml().

Here is the call graph for this function:

◆ wfs_transaction_insert_result()

static void wfs_transaction_insert_result ( ows o,
wfs_request wr,
buffer result 
)
static

◆ wfs_transaction_response()

static void wfs_transaction_response ( ows o,
wfs_request wr,
buffer result,
buffer locator 
)
static

◆ wfs_transaction_result()

static void wfs_transaction_result ( ows o,
wfs_request wr,
buffer result,
buffer locator 
)
static

Definition at line 146 of file wfs_transaction.c.

References buffer_cmp(), Ows::output, ows_version_get(), Ows::request, and Ows_request::version.

Referenced by wfs_transaction_response().

Here is the call graph for this function:

◆ wfs_transaction_summary()

static void wfs_transaction_summary ( ows o,
wfs_request wr,
buffer result 
)
static

Definition at line 75 of file wfs_transaction.c.

References buffer_cmp(), Alist_node::next, Ows::output, List::size, and Alist_node::value.

Referenced by wfs_transaction_response().

Here is the call graph for this function:

◆ wfs_update_xml()


Generated for tinyows by doxygen 1.9.7