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

Go to the source code of this file.

Functions

static void ows_pg (ows *o, char *con_str)
 
static owsows_init ()
 
void ows_free (ows *o)
 
void ows_log (ows *o, int log_level, const char *log)
 
void ows_usage (ows *o)
 
static void ows_kvp_or_xml (ows *o, char *query)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

◆ ows_free()

◆ ows_init()

◆ ows_kvp_or_xml()

static void ows_kvp_or_xml ( ows o,
char *  query 
)
static

Definition at line 303 of file ows.c.

References cgi_method_get(), cgi_method_post(), Ows_request::method, ows_error(), OWS_ERROR_REQUEST_HTTP, OWS_METHOD_KVP, OWS_METHOD_XML, and Ows::request.

Referenced by main().

Here is the call graph for this function:

◆ ows_log()

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

◆ ows_pg()

static void ows_pg ( ows o,
char *  con_str 
)
static

Definition at line 37 of file ows.c.

References Buffer::buf, Ows::db_encoding, ows_error(), OWS_ERROR_CONNECTION_FAILED, ows_log(), ows_psql_postgis_version(), ows_version_get(), Ows::pg, and Ows::postgis_version.

Referenced by main().

Here is the call graph for this function:

◆ ows_usage()


Generated for tinyows by doxygen 1.9.7