15#ifndef CPL_CSV_H_INCLUDED
16#define CPL_CSV_H_INCLUDED
34const char CPL_DLL *CSVFilename(
const char *);
36char CPL_DLL CSVDetectSeperator(
const char *pszLine);
38char CPL_DLL **CSVReadParseLine(FILE *fp);
39char CPL_DLL **CSVReadParseLine2(FILE *fp,
char chDelimiter);
41char CPL_DLL **CSVReadParseLineL(
VSILFILE *fp);
42char CPL_DLL **CSVReadParseLine2L(
VSILFILE *fp,
char chDelimiter);
44char CPL_DLL **CSVReadParseLine3L(
VSILFILE *fp,
size_t nMaxLineSize,
45 const char *pszDelimiter,
bool bHonourStrings,
46 bool bKeepLeadingAndClosingQuotes,
47 bool bMergeDelimiter,
bool bSkipBOM);
49char CPL_DLL **CSVScanLines(FILE *,
int,
const char *, CSVCompareCriteria);
50char CPL_DLL **CSVScanLinesL(
VSILFILE *,
int,
const char *, CSVCompareCriteria);
51char CPL_DLL **CSVScanFile(
const char *,
int,
const char *, CSVCompareCriteria);
52char CPL_DLL **CSVScanFileByName(
const char *,
const char *,
const char *,
54void CPL_DLL CSVRewind(
const char *);
55char CPL_DLL **CSVGetNextLine(
const char *);
56int CPL_DLL CSVGetFieldId(FILE *,
const char *);
57int CPL_DLL CSVGetFieldIdL(
VSILFILE *,
const char *);
58int CPL_DLL CSVGetFileFieldId(
const char *,
const char *);
60void CPL_DLL CSVDeaccess(
const char *);
62const char CPL_DLL *CSVGetField(
const char *,
const char *,
const char *,
63 CSVCompareCriteria,
const char *);
66void CPL_DLL SetCSVFilenameHook(
const char *(*)(
const char *));
Various convenience functions for CPL.
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:283
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:279
Various convenience functions for working with strings and string lists.
Virtual file handle.
Definition: cpl_vsi_virtual.h:47