PostGIS  2.4.9dev-r@@SVN_REVISION@@
shpcommon.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "shpcommon.h"
Include dependency graph for shpcommon.c:

Go to the source code of this file.

Data Structures

struct  code_page_entry
 

Functions

char * escape_connection_string (char *str)
 Escape strings that are to be used as part of a PostgreSQL connection string. More...
 
void colmap_init (colmap *map)
 
void colmap_clean (colmap *map)
 
const char * colmap_dbf_by_pg (colmap *map, const char *pgname)
 
const char * colmap_pg_by_dbf (colmap *map, const char *dbfname)
 
int colmap_read (const char *filename, colmap *map, char *errbuf, size_t errbuflen)
 Read the content of filename into a symbol map. More...
 
char * codepage2encoding (const char *cpg)
 
char * encoding2codepage (const char *encoding)
 

Variables

static int num_code_pages = 60
 
static code_page_entry code_pages []