// This is a generated source file for Chilkat version 11.5.0
#ifndef _C_CkCsv_H
#define _C_CkCsv_H
#include "chilkatDefs.h"
#include "ck_inttypes.h"
#include "Chilkat_C.h"


CK_C_VISIBLE_PUBLIC HCkCsv CkCsv_Create(void);
CK_C_VISIBLE_PUBLIC HCkCsv CkCsv_Create2(int progLang);
CK_C_VISIBLE_PUBLIC void CkCsv_Dispose(HCkCsv handle);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_getAutoTrim(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_putAutoTrim(HCkCsv cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_getCrlf(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_putCrlf(HCkCsv cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC void CkCsv_getDebugLogFilePath(HCkCsv cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkCsv_putDebugLogFilePath(HCkCsv cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkCsv_debugLogFilePath(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_getDelimiter(HCkCsv cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkCsv_putDelimiter(HCkCsv cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkCsv_delimiter(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_getEnableQuotes(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_putEnableQuotes(HCkCsv cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_getEscapeBackslash(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_putEscapeBackslash(HCkCsv cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_getHasColumnNames(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_putHasColumnNames(HCkCsv cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC void CkCsv_getLastErrorHtml(HCkCsv cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkCsv_lastErrorHtml(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_getLastErrorText(HCkCsv cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkCsv_lastErrorText(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_getLastErrorXml(HCkCsv cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkCsv_lastErrorXml(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_getLastMethodSuccess(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_putLastMethodSuccess(HCkCsv cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC int CkCsv_getNumColumns(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC int CkCsv_getNumRows(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_getUncommonOptions(HCkCsv cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkCsv_putUncommonOptions(HCkCsv cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkCsv_uncommonOptions(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_getUtf8(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_putUtf8(HCkCsv cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_getVerboseLogging(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_putVerboseLogging(HCkCsv cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC void CkCsv_getVersion(HCkCsv cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkCsv_version(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC void CkCsv_getXlsxDateFormat(HCkCsv cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkCsv_putXlsxDateFormat(HCkCsv cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkCsv_xlsxDateFormat(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_DeleteColumn(HCkCsv cHandle, int index);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_DeleteColumnByName(HCkCsv cHandle, const char *columnName);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_DeleteRow(HCkCsv cHandle, int index);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_GetCell(HCkCsv cHandle, int row, int col, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkCsv_getCell(HCkCsv cHandle, int row, int col);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_GetCellByName(HCkCsv cHandle, int rowIndex, const char *columnName, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkCsv_getCellByName(HCkCsv cHandle, int rowIndex, const char *columnName);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_GetColumnName(HCkCsv cHandle, int index, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkCsv_getColumnName(HCkCsv cHandle, int index);
CK_C_VISIBLE_PUBLIC int CkCsv_GetIndex(HCkCsv cHandle, const char *columnName);
CK_C_VISIBLE_PUBLIC int CkCsv_GetNumCols(HCkCsv cHandle, int row);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_InsertColumn(HCkCsv cHandle, int index);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_LoadFile(HCkCsv cHandle, const char *path);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_LoadFile2(HCkCsv cHandle, const char *filename, const char *charset);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_LoadFromString(HCkCsv cHandle, const char *csvData);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_RowMatches(HCkCsv cHandle, int rowIndex, const char *matchPattern, BOOL caseSensitive);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SaveFile(HCkCsv cHandle, const char *path);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SaveFile2(HCkCsv cHandle, const char *filename, const char *charset);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SaveToSb(HCkCsv cHandle, HCkStringBuilder sb);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SaveToString(HCkCsv cHandle, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkCsv_saveToString(HCkCsv cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SetCell(HCkCsv cHandle, int row, int col, const char *content);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SetCellByName(HCkCsv cHandle, int rowIndex, const char *columnName, const char *contentStr);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SetColumnName(HCkCsv cHandle, int index, const char *columnName);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SortByColumn(HCkCsv cHandle, const char *columnName, BOOL ascending, BOOL caseSensitive);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_SortByColumnIndex(HCkCsv cHandle, int index, BOOL ascending, BOOL caseSensitive);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_XlsxGetSheets(HCkCsv cHandle, HCkZip xlsx, HCkStringTable sheetNames);
CK_C_VISIBLE_PUBLIC BOOL CkCsv_XlsxLoadSheet(HCkCsv cHandle, HCkZip zip, const char *sheetName);
#endif
