21 #if defined(_RPMODBC_INTERNAL)
22 #if !defined(SQL_HANDLE_STMT)
23 #define SQL_HANDLE_ENV 1
24 #define SQL_HANDLE_DBC 2
25 #define SQL_HANDLE_STMT 3
26 #define SQL_HANDLE_DESC 4
27 #define SQLHANDLE void
55 #if defined(__LCLINT__)
62 unsigned short ParameterNumber;
63 short InputOutputType;
66 unsigned long ColumnSize;
68 void * ParameterValuePtr;
70 long * StrLen_or_IndPtr;
91 #define odbcUnlink(_odbc) \
92 ((ODBC_t)rpmioUnlinkPoolItem((rpmioItem)(_odbc), __FUNCTION__, __FILE__, __LINE__))
102 #define odbcLink(_odbc) \
103 ((ODBC_t)rpmioLinkPoolItem((rpmioItem)(_odbc), __FUNCTION__, __FILE__, __LINE__))
114 #define odbcFree(_odbc) \
115 ((ODBC_t)rpmioFreePoolItem((rpmioItem)(_odbc), __FUNCTION__, __FILE__, __LINE__))
181 unsigned short Col_or_Param_Num,
183 void * TargetValuePtr,
185 long * StrLen_or_IndPtr)
188 unsigned short ColumnNumber,
189 unsigned short FieldIdentifier,
190 void * CharacterAttributePtr,
192 short * StringLengthPtr,
193 long * NumericAttributePtr)
206 void * TargetValuePtr,
long BufferLength,
long * StrLen_or_Ind)
int odbcColumns(ODBC_t odbc, const char *tblname, const char *colname)
int odbcGetEnvAttr(ODBC_t odbc, int _type, void *_bp, int _nb, int *nsp)
int odbcFetchScroll(ODBC_t odbc, short FetchOrientation, long FetchOffset)
int odbcGetStmtAttr(ODBC_t odbc, int _attr, void *_bp, int _nb, int *nsp)
int odbcCloseCursor(ODBC_t odbc)
int odbcSetEnvAttr(ODBC_t odbc, int _type, void *_bp, int ns)
int odbcTables(ODBC_t odbc, const char *tblname)
#define odbcUnlink(_odbc)
int odbcExecute(ODBC_t odbc)
int odbcGetData(ODBC_t odbc, unsigned short Col_or_Param_Num, short TargetType, void *TargetValuePtr, long BufferLength, long *StrLen_or_IndPtr)
int odbcCancel(ODBC_t odbc)
int odbcPrepare(ODBC_t odbc, const char *s, size_t ns)
int odbcSetStmtAttr(ODBC_t odbc, int _attr, void *_bp, int ns)
int odbcNRows(ODBC_t odbc)
int odbcExecDirect(ODBC_t odbc, const char *s, size_t ns)
int odbcPrint(ODBC_t odbc, void *_fp)
int odbcRollback(ODBC_t odbc)
int odbcSetCursorName(ODBC_t odbc, const char *s, size_t ns)
int odbcFetch(ODBC_t odbc)
int odbcEndTran(ODBC_t odbc, int _rollback)
int odbcBindCol(ODBC_t odbc, unsigned short ColumnNumber, short TargetType, void *TargetValuePtr, long BufferLength, long *StrLen_or_Ind)
const char const bson int mongo_write_concern int flags
int odbcStatistics(ODBC_t odbc, const char *tblname)
int odbcNCols(ODBC_t odbc)
int odbcGetInfo(ODBC_t odbc, int _type, void *_bp, int _nb, short *nsp)
int odbcConnect(ODBC_t odbc, const char *uri)
ODBC_t odbcNew(const char *fn, int flags)
Create and load a odbc wrapper.
int odbcBindParameter(ODBC_t odbc, _PARAM_t param)
int odbcCommit(ODBC_t odbc)
int odbcListDrivers(ODBC_t odbc, void *_fp)
int odbcColAttribute(ODBC_t odbc, unsigned short ColumnNumber, unsigned short FieldIdentifier, void *CharacterAttributePtr, short BufferLength, short *StringLengthPtr, long *NumericAttributePtr)
int odbcListDataSources(ODBC_t odbc, void *_fp)
const char * odbcGetCursorName(ODBC_t odbc)
int odbcDisconnect(ODBC_t odbc)
struct _PARAM_s * _PARAM_t