tinyows 1.2.2
ows_config.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <libxml/xmlreader.h>
#include "ows.h"
Include dependency graph for ows_config.c:

Go to the source code of this file.

Functions

static void ows_parse_config_tinyows (ows *o, xmlTextReaderPtr r)
 
static void ows_parse_config_contact (ows *o, xmlTextReaderPtr r)
 
static void ows_parse_config_metadata (ows *o, xmlTextReaderPtr r)
 
static void ows_parse_config_abstract (ows *o, xmlTextReaderPtr r)
 
static void ows_parse_config_limits (ows *o, xmlTextReaderPtr r)
 
static void ows_parse_config_pg (ows *o, xmlTextReaderPtr r)
 
static ows_layerows_parse_config_layer_get_parent (const ows *o, int depth)
 
static void ows_parse_config_layer (ows *o, xmlTextReaderPtr r)
 
static void ows_config_check (ows *o)
 
static void ows_parse_config_xml (ows *o, const char *filename)
 
void ows_parse_config (ows *o, const char *filename)
 

Function Documentation

◆ ows_config_check()

static void ows_config_check ( ows * o)
static

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

static void ows_parse_config_abstract ( ows * o,
xmlTextReaderPtr r )
static

Definition at line 299 of file ows_config.c.

References Ows_meta::abstract, buffer_add_str(), buffer_init(), and Ows::metadata.

Referenced by ows_parse_config_xml().

Here is the call graph for this function:

◆ ows_parse_config_contact()

◆ ows_parse_config_layer()

◆ ows_parse_config_layer_get_parent()

static ows_layer * ows_parse_config_layer_get_parent ( const ows * o,
int depth )
static

◆ ows_parse_config_limits()

static void ows_parse_config_limits ( ows * o,
xmlTextReaderPtr r )
static

Definition at line 322 of file ows_config.c.

References Ows::max_features, Ows::max_geobbox, ows_geobbox_free(), ows_geobbox_init(), and ows_geobbox_set_from_str().

Referenced by ows_parse_config_xml().

Here is the call graph for this function:

◆ ows_parse_config_metadata()

static void ows_parse_config_metadata ( ows * o,
xmlTextReaderPtr r )
static

◆ ows_parse_config_pg()

static void ows_parse_config_pg ( ows * o,
xmlTextReaderPtr r )
static

Definition at line 349 of file ows_config.c.

References buffer_add_str(), Ows::db_encoding, OWS_DEFAULT_DB_ENCODING, Ows::pg_dsn, and Buffer::use.

Referenced by ows_parse_config_xml().

Here is the call graph for this function:

◆ ows_parse_config_tinyows()

◆ ows_parse_config_xml()

static void ows_parse_config_xml ( ows * o,
const char * filename )
static

Generated for tinyows by doxygen 1.10.0