PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches
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
41char
43 const char *str,
44 const char *oldstr, const char *newstr,
45 int *count
46);
47
48char *
49rtpg_strtoupper(char *str);
50
51char *
52rtpg_chartrim(const char* input, char *remove);
53
54char **
55rtpg_strsplit(const char *str, const char *delimiter, uint32_t *n);
56
57char *
59
60char *
61rtpg_trim(const char* input);
62
63char *
64rtpg_strrstr(const char *s1, const char *s2);
65
66char *rtpg_getSR(int32_t srid);
67
68#endif /* RTPG_INTERNAL_H_INCLUDED */
#define str(s)
char ** rtpg_strsplit(const char *str, const char *delimiter, uint32_t *n)
char * rtpg_removespaces(char *str)
char * rtpg_getSR(int32_t srid)
char * rtpg_strreplace(const char *str, const char *oldstr, const char *newstr, int *count)
char * rtpg_trim(const char *input)
char * rtpg_strtoupper(char *str)
char * rtpg_chartrim(const char *input, char *remove)
char * rtpg_strrstr(const char *s1, const char *s2)