tinyows 1.2.2
ows_request.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <libxml/xmlschemas.h>
#include <libxml/xmlschemastypes.h>
#include "ows.h"
#include "../ows_define.h"
Include dependency graph for ows_request.c:

Go to the source code of this file.

Functions

ows_requestows_request_init ()
 
void ows_request_free (ows_request *or)
 
static void libxml2_callback (void *ctx, const char *msg,...)
 
static xmlSchemaPtr ows_generate_schema (const ows *o, buffer *xml_schema, bool schema_is_file)
 
int ows_schema_validation (ows *o, buffer *xml_schema, buffer *xml, bool schema_is_file, enum ows_schema_type schema_type)
 
static ows_versionows_request_check_version (ows *o, ows_request *or, const array *cgi)
 
void ows_request_check (ows *o, ows_request *or, const array *cgi, const char *query)
 

Function Documentation

◆ libxml2_callback()

static void libxml2_callback ( void * ctx,
const char * msg,
... )
static

Definition at line 104 of file ows_request.c.

References ows_log().

Referenced by ows_generate_schema(), and ows_schema_validation().

Here is the call graph for this function:

◆ ows_generate_schema()

static xmlSchemaPtr ows_generate_schema ( const ows * o,
buffer * xml_schema,
bool schema_is_file )
static

Definition at line 121 of file ows_request.c.

References Buffer::buf, libxml2_callback(), and Buffer::use.

Referenced by ows_schema_validation().

Here is the call graph for this function:

◆ ows_request_check()

◆ ows_request_check_version()

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

Generated for tinyows by doxygen 1.10.0