50 #ifndef DOXYGEN_SHOULD_SKIP_THIS
52 #define GAIAAUX_DECLARE __declspec(dllexport)
54 #define GAIAAUX_DECLARE extern
59 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70 #define GAIA_SQL_SINGLE_QUOTE 1001
72 #define GAIA_SQL_DOUBLE_QUOTE 1002
223 GAIAAUX_DECLARE
char *
gaiaQuotedSql (
const char *value,
int quote);
278 const char *user_agent,
280 sqlite3_int64 * sqllog_pk);
298 sqlite3_int64 sqllog_pk,
int success,
340 const unsigned char *blob,
381 GAIAAUX_DECLARE
int gaiaParseDMS (
const char *dms,
double *longitude,
GAIAAUX_DECLARE char * gaiaConvertToUTF8(void *cvtCS, const char *buf, int len, int *err)
Converts a text string to UTF8.
GAIAAUX_DECLARE void gaiaFreeMD5Checksum(void *md5)
Destroys an MD5 checksum object.
GAIAAUX_DECLARE int gaiaIsReservedSqliteName(const char *name)
Checks if a name is a reserved SQLite name.
GAIAAUX_DECLARE char * gaiaFinalizeMD5Checksum(void *md5)
Return an MD5 checksum value.
GAIAAUX_DECLARE const char * gaiaGetLocaleCharset(void)
Retrieves the Locale Charset.
GAIAAUX_DECLARE char * gaiaFileNameFromPath(const char *path)
Return the FileName from a Path.
GAIAAUX_DECLARE char * gaiaDirNameFromPath(const char *path)
Return the DirName component (if any) from a Path.
GAIAAUX_DECLARE void gaiaFreeUTF8Converter(void *cvtCS)
Destroys an UTF8 converter object.
GAIAAUX_DECLARE char * gaiaSingleQuotedSql(const char *value)
Properly formats an SQL text constant.
GAIAAUX_DECLARE void * gaiaCreateMD5Checksum(void)
Creates a persistent MD5 checksum object.
GAIAAUX_DECLARE char * gaiaFullFileNameFromPath(const char *path)
Return the FullFileName from a Path.
GAIAAUX_DECLARE char * gaiaDecodeURL(const char *encoded)
Return a clean URL from its percent-encoded representation.
GAIAAUX_DECLARE void gaiaUpdateMD5Checksum(void *md5, const unsigned char *blob, int blob_len)
Updates an MD5 checksum object.
GAIAAUX_DECLARE char * gaiaConvertToDMS(double longitude, double latitude)
Return a DMS string.
GAIAAUX_DECLARE char * gaiaFileExtFromPath(const char *path)
Return the FileExtension from a Path.
GAIAAUX_DECLARE int gaiaIllegalSqlName(const char *name)
Checks if a name is an illegal SQL name.
GAIAAUX_DECLARE void * gaiaCreateUTF8Converter(const char *fromCS)
Creates a persistent UTF8 converter object.
GAIAAUX_DECLARE int gaiaIsReservedSqlName(const char *name)
Checks if a name is a reserved SQL name.
GAIAAUX_DECLARE char * gaiaEncodeURL(const char *url)
Return a percent-encoded URL.
GAIAAUX_DECLARE void gaiaUpdateSqlLog(sqlite3 *sqlite, sqlite3_int64 sqllog_pk, int success, const char *errMsg)
SQL log: statement start.
GAIAAUX_DECLARE char * gaiaDequotedSql(const char *value)
Properly formats an SQL generic string (dequoting)
GAIAAUX_DECLARE int gaiaConvertCharset(char **buf, const char *fromCs, const char *toCs)
Converts a text string from one charset to another.
GAIAAUX_DECLARE void gaiaCleanSqlString(char *value)
deprecated function
GAIAAUX_DECLARE char * gaiaDoubleQuotedSql(const char *value)
Properly formats an SQL name.
GAIAAUX_DECLARE char * gaiaQuotedSql(const char *value, int quote)
Properly formats an SQL generic string.
GAIAAUX_DECLARE void gaiaInsertIntoSqlLog(sqlite3 *sqlite, const char *user_agent, const char *utf8Sql, sqlite3_int64 *sqllog_pk)
SQL log: statement start.
GAIAAUX_DECLARE int gaiaParseDMS(const char *dms, double *longitude, double *latitude)
Return longitude and latitude angles from a DMS string.