3131
3232#include "mapserver.h"
3333
34- /*dont need ogr for these functikons*/
35- MS_DLL_EXPORT int FLTIsNumeric (const char * pszValue );
36- MS_DLL_EXPORT int FLTApplyExpressionToLayer (layerObj * lp , const char * pszExpression );
37- MS_DLL_EXPORT char * FLTGetExpressionForValuesRanges (layerObj * lp , const char * item , const char * value , int forcecharcter );
38-
3934#ifdef USE_OGR
4035
4136/* There is a dependency to OGR for the MiniXML parser */
@@ -47,6 +42,9 @@ MS_DLL_EXPORT char *FLTGetExpressionForValuesRanges(layerObj *lp, const char *i
4742#include <libxml/tree.h>
4843#endif
4944
45+ #ifdef __cplusplus
46+ extern "C" {
47+ #endif
5048
5149typedef struct {
5250 char * pszWildCard ;
@@ -58,6 +56,10 @@ typedef struct {
5856/* -------------------------------------------------------------------- */
5957/* prototypes. */
6058/* -------------------------------------------------------------------- */
59+ MS_DLL_EXPORT int FLTIsNumeric (const char * pszValue );
60+ MS_DLL_EXPORT int FLTApplyExpressionToLayer (layerObj * lp , const char * pszExpression );
61+ MS_DLL_EXPORT char * FLTGetExpressionForValuesRanges (layerObj * lp , const char * item , const char * value , int forcecharcter );
62+
6163MS_DLL_EXPORT FilterEncodingNode * FLTParseFilterEncoding (const char * szXMLString );
6264MS_DLL_EXPORT FilterEncodingNode * FLTCreateFilterEncodingNode (void );
6365MS_DLL_EXPORT char * * FLTSplitFilters (const char * pszStr , int * pnTokens );
@@ -145,6 +147,10 @@ int FLTApplyFilterToLayerCommonExpressionWithRect(mapObj *map, int iLayerIndex,
145147int FLTProcessPropertyIsNull (FilterEncodingNode * psFilterNode ,
146148 mapObj * map , int i );
147149
150+ #ifdef __cplusplus
151+ }
152+ #endif
153+
148154#endif
149155
150156
0 commit comments