PostGIS  2.5.7dev-r@@SVN_REVISION@@
rtpg_internal.h
Go to the documentation of this file.
1 /*
2  *
3  * WKTRaster - Raster Types for PostGIS
4  * http://trac.osgeo.org/postgis/wiki/WKTRaster
5  *
6  * Copyright (C) 2011-2013 Regents of the University of California
7  * <bkpark@ucdavis.edu>
8  * Copyright (C) 2010-2011 Jorge Arevalo <jorge.arevalo@deimos-space.com>
9  * Copyright (C) 2010-2011 David Zwarg <dzwarg@azavea.com>
10  * Copyright (C) 2009-2011 Pierre Racine <pierre.racine@sbf.ulaval.ca>
11  * Copyright (C) 2009-2011 Mateusz Loskot <mateusz@loskot.net>
12  * Copyright (C) 2008-2009 Sandro Santilli <strk@kbt.io>
13  *
14  * This program is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU General Public License
16  * as published by the Free Software Foundation; either version 2
17  * of the License, or (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software Foundation,
26  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27  *
28  */
29 
30 #ifndef RTPG_INTERNAL_H_INCLUDED
31 #define RTPG_INTERNAL_H_INCLUDED
32 
33 #include "rtpostgis.h"
34 
35 /***************************************************************
36  * Internal functions must be prefixed with rtpg_. This is
37  * keeping inline with the use of pgis_ for ./postgis C utility
38  * functions.
39  ****************************************************************/
40 
41 char
43  const char *str,
44  const char *oldstr, const char *newstr,
45  int *count
46 );
47 
48 char *
49 rtpg_strtoupper(char *str);
50 
51 char *
52 rtpg_chartrim(const char* input, char *remove);
53 
54 char **
55 rtpg_strsplit(const char *str, const char *delimiter, uint32_t *n);
56 
57 char *
58 rtpg_removespaces(char *str);
59 
60 char *
61 rtpg_trim(const char* input);
62 
63 char *
64 rtpg_strrstr(const char *s1, const char *s2);
65 
66 char *
67 rtpg_getSR(int srid);
68 
69 #endif /* RTPG_INTERNAL_H_INCLUDED */
int count
Definition: genraster.py:56
char * rtpg_removespaces(char *str)
char * rtpg_getSR(int srid)
char * rtpg_strtoupper(char *str)
char * rtpg_chartrim(const char *input, char *remove)
char * rtpg_strrstr(const char *s1, const char *s2)
char * rtpg_trim(const char *input)
char ** rtpg_strsplit(const char *str, const char *delimiter, uint32_t *n)
char * rtpg_strreplace(const char *str, const char *oldstr, const char *newstr, int *count)
Definition: rtpg_internal.c:55
unsigned int uint32_t
Definition: uthash.h:78