Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SQLDBC_C.h

Go to the documentation of this file.
00001 
00034 #ifndef SQLDBC_C_H
00035 #define SQLDBC_C_H
00036 #include "SQLDBC_Types.h" /* no check */
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00045 #define SQLDBC_CHeaderVersion "SQLDBC_C.H  7.5.0    BUILD 021-123-084-954"
00046 /*
00047    type maps used by the script genSQLDBC_C.pl for gerating a SQLDBC C-wrapper.
00048    #typemap  SQLDBC_StringEncodingType_Encoding SQLDBC_StringEncoding
00049    #typemap  ParameterMode SQLDBC_ParameterMetaData::ParameterMode
00050    #typemap  ParameterNullBehavior SQLDBC_ParameterMetaData::ParameterNullBehavior
00051    #typemap  ColumnNullBehavior SQLDBC_ResultSetMetaData::ColumnNullBehavior
00052    #typemap  SQLDBC_Statement_ResultSetType SQLDBC_Statement::ResultSetType
00053    #typemap  SQLDBC_Statement_ConcurrencyType SQLDBC_Statement::ConcurrencyType
00054 */
00055 
00056 #ifndef BUILD_INTERFACE_RUNTIME
00057 typedef struct SQLDBC_IRuntime SQLDBC_IRuntime;
00058 #endif /* BUILD_INTERFACE_RUNTIME */
00059 
00060 #ifdef WIN32
00061 #define SQLDBC_DLLEXPORT __declspec(dllexport)
00062 #else
00063 #define SQLDBC_DLLEXPORT
00064 #endif
00065 
00066 #ifndef BUILD_INTERFACE_RUNTIME
00067 typedef struct SQLDBC_Statement SQLDBC_Statement;
00068 #endif /* BUILD_INTERFACE_RUNTIME */
00069 
00073 #ifndef BUILD_INTERFACE_RUNTIME
00074 typedef struct SQLDBC_ErrorHndl SQLDBC_ErrorHndl;
00075 #endif /* BUILD_INTERFACE_RUNTIME */
00076 
00082   SQLDBC_DLLEXPORT
00083   SQLDBC_Int4 SQLDBC_ErrorHndl_getErrorCode(SQLDBC_ErrorHndl *hdl);
00084 
00090   SQLDBC_DLLEXPORT
00091   char* SQLDBC_ErrorHndl_getSQLState(SQLDBC_ErrorHndl* hdl);
00092 
00099   SQLDBC_DLLEXPORT
00100   char * SQLDBC_ErrorHndl_getErrorText(SQLDBC_ErrorHndl* hdl);
00101 
00102 
00111 #ifndef BUILD_INTERFACE_RUNTIME
00112 typedef struct SQLDBC_SQLWarning SQLDBC_SQLWarning;
00113 #endif /* BUILD_INTERFACE_RUNTIME */
00114 
00120   SQLDBC_DLLEXPORT
00121   SQLDBC_SQLWarning* SQLDBC_SQLWarning_getNextWarning(SQLDBC_SQLWarning* hdl);
00122 
00128   SQLDBC_DLLEXPORT
00129   SQLDBC_SQLWarningCode SQLDBC_SQLWarning_getWarningCode(SQLDBC_SQLWarning* hdl);
00130 
00131 
00137 #ifndef BUILD_INTERFACE_RUNTIME
00138 typedef struct SQLDBC_LOB SQLDBC_LOB;
00139 #endif /* BUILD_INTERFACE_RUNTIME */
00140    /*#ignore - this is a hint for the c wrapper generator*/
00141    SQLDBC_DLLEXPORT SQLDBC_LOB* SQLDBC_LOB_new_SQLDBC_LOB();
00142    /*#ignore - this is a hint for the c wrapper generator*/
00143    SQLDBC_DLLEXPORT void SQLDBC_LOB_delete_SQLDBC_LOB(SQLDBC_LOB *lob);
00157     SQLDBC_DLLEXPORT SQLDBC_Retcode SQLDBC_LOB_putData(SQLDBC_LOB* hdl, void *paramAddr, SQLDBC_Length  *paramLengthIndicator);
00158 
00164     SQLDBC_DLLEXPORT SQLDBC_Retcode SQLDBC_LOB_close(SQLDBC_LOB* hdl);
00165 
00166 
00205     SQLDBC_DLLEXPORT SQLDBC_Retcode SQLDBC_LOB_getData(SQLDBC_LOB           *hdl,
00206                                             void                 *paramAddr,
00207                                             SQLDBC_Length        *LengthIndicator,
00208                                             SQLDBC_Length   Size,
00209                                             SQLDBC_Bool     Terminate);
00210 
00252     /* #methodmap SQLDBC_LOB_getDataByPos getData */
00253     SQLDBC_DLLEXPORT SQLDBC_Retcode SQLDBC_LOB_getDataByPos(SQLDBC_LOB* hdl,
00254                                             void                 *paramAddr,
00255                                             SQLDBC_Length        *LengthIndicator,
00256                                             SQLDBC_Length   Size,
00257                                             SQLDBC_Length   position,
00258                                             SQLDBC_Bool     Terminate);
00259 
00269     SQLDBC_DLLEXPORT SQLDBC_Length SQLDBC_LOB_getLength(SQLDBC_LOB *hdl);
00270 
00278     SQLDBC_DLLEXPORT SQLDBC_Length SQLDBC_LOB_getPosition(SQLDBC_LOB* hdl);
00279 
00280 
00292     SQLDBC_DLLEXPORT SQLDBC_Length SQLDBC_LOB_getPreferredDataSize(SQLDBC_LOB* hdl);
00293 
00294 
00299 #ifndef BUILD_INTERFACE_RUNTIME
00300 typedef struct SQLDBC_ParameterMetaData SQLDBC_ParameterMetaData;
00301 #endif /* BUILD_INTERFACE_RUNTIME */
00302 
00303 #ifndef __cplusplus
00304 typedef
00305 #endif
00306   enum ParameterNullBehavior {
00310     parameterNoNulls = 0,
00311 
00315     parameterNullable = 1,
00316 
00320     parameterNullableUnknown = 2
00321   }
00322 #ifndef __cplusplus
00323 ParameterNullBehavior
00324 #endif
00325 ;
00326 
00327 #ifndef __cplusplus
00328 typedef
00329 #endif
00330   enum ParameterMode {
00331 
00335     parameterModeUnknown = 0,
00336 
00340     parameterModeIn = 1,
00341 
00345     parameterModeInOut = 2,
00346 
00350     parameterModeOut = 4
00351   }
00352 #ifndef __cplusplus
00353 ParameterMode
00354 #endif
00355 ;
00356 
00365   SQLDBC_DLLEXPORT
00366   SQLDBC_Int2 SQLDBC_ParameterMetaData_getParameterCount(SQLDBC_ParameterMetaData* hdl);
00367 
00387   SQLDBC_DLLEXPORT
00388   SQLDBC_Retcode SQLDBC_ParameterMetaData_getParameterName(SQLDBC_ParameterMetaData* hdl,
00389                                   SQLDBC_Int2    param,
00390                                   char *buffer,
00391                                   SQLDBC_StringEncodingType_Encoding encoding,
00392                                   SQLDBC_Length  bufferSize,
00393                                   SQLDBC_Length *bufferLength);
00394 
00403   SQLDBC_DLLEXPORT
00404   SQLDBC_SQLType SQLDBC_ParameterMetaData_getParameterType(SQLDBC_ParameterMetaData* hdl, SQLDBC_Int2 param);
00405 
00418   SQLDBC_DLLEXPORT
00419   ParameterMode SQLDBC_ParameterMetaData_getParameterMode(SQLDBC_ParameterMetaData* hdl, SQLDBC_Int2 param);
00420 
00433   SQLDBC_DLLEXPORT
00434   SQLDBC_Int4 SQLDBC_ParameterMetaData_getParameterLength(SQLDBC_ParameterMetaData* hdl, SQLDBC_Int2 param);
00435 
00452   SQLDBC_DLLEXPORT
00453   SQLDBC_Int4 SQLDBC_ParameterMetaData_getPrecision(SQLDBC_ParameterMetaData* hdl, SQLDBC_Int2 param);
00454 
00469   SQLDBC_DLLEXPORT
00470   SQLDBC_Int4 SQLDBC_ParameterMetaData_getScale(SQLDBC_ParameterMetaData* hdl, SQLDBC_Int2 param);
00471 
00483   SQLDBC_DLLEXPORT
00484   SQLDBC_Int4 SQLDBC_ParameterMetaData_getPhysicalLength(SQLDBC_ParameterMetaData* hdl, SQLDBC_Int2 param);
00485 
00499   SQLDBC_DLLEXPORT
00500   ParameterNullBehavior SQLDBC_ParameterMetaData_isNullable(SQLDBC_ParameterMetaData* hdl, SQLDBC_Int2 param);
00501 
00502 
00507 #ifndef BUILD_INTERFACE_RUNTIME
00508 typedef struct SQLDBC_ResultSetMetaData SQLDBC_ResultSetMetaData;
00509 #endif /* BUILD_INTERFACE_RUNTIME */
00510 #ifndef __cplusplus
00511 typedef
00512 #endif
00513   enum ColumnNullBehavior {
00517     columnNoNulls = 0,
00518 
00522     columnNullable = 1,
00523 
00527     columnNullableUnknown = 2
00528   }
00529 #ifndef __cplusplus
00530 ColumnNullBehavior
00531 #endif
00532 ;
00540   SQLDBC_DLLEXPORT
00541   SQLDBC_Int2 SQLDBC_ResultSetMetaData_getColumnCount(SQLDBC_ResultSetMetaData* hdl);
00542 
00564   SQLDBC_DLLEXPORT
00565   SQLDBC_Retcode SQLDBC_ResultSetMetaData_getColumnName(SQLDBC_ResultSetMetaData* hdl,
00566                                  SQLDBC_Int2 column,
00567                                  char *buffer,
00568                                  SQLDBC_StringEncodingType_Encoding encoding,
00569                                  SQLDBC_Length  bufferSize,
00570                                  SQLDBC_Length *bufferLength);
00571 
00572 
00583   SQLDBC_DLLEXPORT
00584   SQLDBC_SQLType SQLDBC_ResultSetMetaData_getColumnType(SQLDBC_ResultSetMetaData* hdl, SQLDBC_Int2 column);
00585 
00596   SQLDBC_DLLEXPORT
00597   SQLDBC_Int4 SQLDBC_ResultSetMetaData_getColumnLength(SQLDBC_ResultSetMetaData* hdl,SQLDBC_Int2 column);
00598 
00613   SQLDBC_DLLEXPORT
00614   SQLDBC_Int4 SQLDBC_ResultSetMetaData_getPrecision(SQLDBC_ResultSetMetaData* hdl, SQLDBC_Int2 column);
00615 
00630   SQLDBC_DLLEXPORT
00631   SQLDBC_Int4 SQLDBC_ResultSetMetaData_getScale(SQLDBC_ResultSetMetaData* hdl, SQLDBC_Int2 column);
00632 
00644   SQLDBC_DLLEXPORT
00645   SQLDBC_Int4 SQLDBC_ResultSetMetaData_getPhysicalLength(SQLDBC_ResultSetMetaData* hdl, SQLDBC_Int2 column);
00646 
00659   SQLDBC_DLLEXPORT
00660   ColumnNullBehavior SQLDBC_ResultSetMetaData_isNullable(SQLDBC_ResultSetMetaData* hdl, SQLDBC_Int2 column);
00661 
00672   SQLDBC_DLLEXPORT
00673   SQLDBC_Bool SQLDBC_ResultSetMetaData_isWritable(SQLDBC_ResultSetMetaData* hdl, SQLDBC_Int2 column);
00674 
00675 
00687 #ifndef BUILD_INTERFACE_RUNTIME
00688 typedef struct SQLDBC_RowSet SQLDBC_RowSet;
00689 #endif /* BUILD_INTERFACE_RUNTIME */
00690 
00701     /* #methodmap SQLDBC_RowSet_getError error */
00702     SQLDBC_DLLEXPORT
00703     SQLDBC_ErrorHndl* /*#cast &*/ SQLDBC_RowSet_getError(SQLDBC_RowSet* hdl);
00704 
00709     SQLDBC_DLLEXPORT
00710     void SQLDBC_RowSet_clearError(SQLDBC_RowSet* hdl);
00711 
00721     /* #methodmap SQLDBC_RowSet_getWarning warning */
00722     SQLDBC_DLLEXPORT
00723     SQLDBC_SQLWarning* SQLDBC_RowSet_getWarning(SQLDBC_RowSet* hdl);
00724 
00729     SQLDBC_DLLEXPORT
00730     void SQLDBC_RowSet_clearWarnings(SQLDBC_RowSet* hdl);
00731 
00732 
00744   SQLDBC_DLLEXPORT
00745   SQLDBC_Retcode SQLDBC_RowSet_setPos(SQLDBC_RowSet* hdl, SQLDBC_UInt4 pos);
00746 
00755   SQLDBC_DLLEXPORT
00756   SQLDBC_Retcode SQLDBC_RowSet_fetch(SQLDBC_RowSet* hdl);
00757 
00766   SQLDBC_DLLEXPORT
00767   SQLDBC_Int4 SQLDBC_RowSet_getRowsAffected(SQLDBC_RowSet* hdl);
00768 
00782   SQLDBC_DLLEXPORT
00783   SQLDBC_Int4 * SQLDBC_RowSet_getRowStatus(SQLDBC_RowSet* hdl);
00784 
00838   SQLDBC_DLLEXPORT
00839   SQLDBC_Retcode SQLDBC_RowSet_getObject(SQLDBC_RowSet* hdl,
00840                            SQLDBC_Int4     Index,
00841                            SQLDBC_HostType Type,
00842                            void                 *paramAddr,
00843                            SQLDBC_Length        *LengthIndicator,
00844                            SQLDBC_Length   Size,
00845                            SQLDBC_Bool     Terminate);
00846 
00903   /* #methodmap SQLDBC_RowSet_getObjectByPos getObject */
00904   SQLDBC_DLLEXPORT
00905   SQLDBC_Retcode SQLDBC_RowSet_getObjectByPos(SQLDBC_RowSet* hdl,
00906                            SQLDBC_Int4     Index,
00907                            SQLDBC_HostType Type,
00908                            void                 *paramAddr,
00909                            SQLDBC_Length        *LengthIndicator,
00910                            SQLDBC_Length   Size,
00911                            SQLDBC_Length         StartPos,
00912                            SQLDBC_Bool     Terminate);
00913 
00914 
00926 #ifndef BUILD_INTERFACE_RUNTIME
00927 typedef struct SQLDBC_UpdatableRowSet SQLDBC_UpdatableRowSet;
00928 #endif /* BUILD_INTERFACE_RUNTIME */
00929 
00940     /* #methodmap SQLDBC_UpdatableRowSet_getError error */
00941     SQLDBC_DLLEXPORT
00942     SQLDBC_ErrorHndl* /*#cast &*/  SQLDBC_UpdatableRowSet_getError(SQLDBC_UpdatableRowSet* hdl);
00943 
00948     SQLDBC_DLLEXPORT
00949     void SQLDBC_UpdatableRowSet_clearError(SQLDBC_UpdatableRowSet* hdl);
00950 
00960     /* #methodmap SQLDBC_UpdatableRowSet_getWarning warning */
00961     SQLDBC_DLLEXPORT
00962     SQLDBC_SQLWarning* SQLDBC_UpdatableRowSet_getWarning(SQLDBC_UpdatableRowSet* hdl);
00963 
00968     SQLDBC_DLLEXPORT
00969     void SQLDBC_UpdatableRowSet_clearWarnings(SQLDBC_UpdatableRowSet* hdl);
00970 
00971   /* the residuary methods of SQLDBC_UpdatableRowSet are derived from SQLDBC_RowSet */
00972 
00984   SQLDBC_DLLEXPORT
00985   SQLDBC_Retcode SQLDBC_UpdatableRowSet_setPos(SQLDBC_UpdatableRowSet* hdl, SQLDBC_UInt4 pos);
00986 
00995   SQLDBC_DLLEXPORT
00996   SQLDBC_Retcode SQLDBC_UpdatableRowSet_fetch(SQLDBC_UpdatableRowSet* hdl);
00997 
01006   SQLDBC_DLLEXPORT
01007   SQLDBC_Int4 SQLDBC_UpdatableRowSet_getRowsAffected(SQLDBC_UpdatableRowSet* hdl);
01008 
01022   SQLDBC_DLLEXPORT
01023   SQLDBC_Int4 * SQLDBC_UpdatableRowSet_getRowStatus(SQLDBC_UpdatableRowSet* hdl);
01024 
01078   SQLDBC_DLLEXPORT
01079   SQLDBC_Retcode SQLDBC_UpdatableRowSet_getObject(SQLDBC_UpdatableRowSet* hdl,
01080                            SQLDBC_Int4     Index,
01081                            SQLDBC_HostType Type,
01082                            void                 *paramAddr,
01083                            SQLDBC_Length        *LengthIndicator,
01084                            SQLDBC_Length   Size,
01085                            SQLDBC_Bool     Terminate);
01086 
01143   /* #methodmap SQLDBC_UpdatableRowSet_getObjectByPos getObject */
01144   SQLDBC_DLLEXPORT
01145   SQLDBC_Retcode SQLDBC_UpdatableRowSet_getObjectByPos(SQLDBC_UpdatableRowSet* hdl,
01146                            SQLDBC_Int4     Index,
01147                            SQLDBC_HostType Type,
01148                            void                 *paramAddr,
01149                            SQLDBC_Length        *LengthIndicator,
01150                            SQLDBC_Length   Size,
01151                            SQLDBC_Length         StartPos,
01152                            SQLDBC_Bool     Terminate);
01153 
01163   SQLDBC_DLLEXPORT
01164   SQLDBC_Retcode SQLDBC_UpdatableRowSet_insertAllRows(SQLDBC_UpdatableRowSet* hdl);
01165 
01173   SQLDBC_DLLEXPORT
01174   SQLDBC_Retcode SQLDBC_UpdatableRowSet_insertOneRow(SQLDBC_UpdatableRowSet* hdl);
01175 
01186   SQLDBC_DLLEXPORT
01187   SQLDBC_Retcode SQLDBC_UpdatableRowSet_updateRow(SQLDBC_UpdatableRowSet* hdl, int position);
01188 
01198   SQLDBC_DLLEXPORT
01199   SQLDBC_Retcode SQLDBC_UpdatableRowSet_deleteRow(SQLDBC_UpdatableRowSet* hdl, int position);
01200 
01201 
01285 #ifndef BUILD_INTERFACE_RUNTIME
01286 typedef struct SQLDBC_ResultSet SQLDBC_ResultSet;
01287 #endif /* BUILD_INTERFACE_RUNTIME */
01288 
01299     /* #methodmap SQLDBC_ResultSet_getError error */
01300     SQLDBC_DLLEXPORT
01301      SQLDBC_ErrorHndl* /*#cast &*/ SQLDBC_ResultSet_getError(SQLDBC_ResultSet* hdl);
01302 
01307     SQLDBC_DLLEXPORT
01308     void SQLDBC_ResultSet_clearError(SQLDBC_ResultSet* hdl);
01309 
01319     /* #methodmap SQLDBC_ResultSet_getWarning warning */
01320     SQLDBC_DLLEXPORT
01321     SQLDBC_SQLWarning* SQLDBC_ResultSet_getWarning(SQLDBC_ResultSet* hdl);
01322 
01327     SQLDBC_DLLEXPORT
01328     void SQLDBC_ResultSet_clearWarnings(SQLDBC_ResultSet* hdl);
01329 
01330 
01331 
01342   SQLDBC_DLLEXPORT
01343   SQLDBC_ResultSetMetaData* SQLDBC_ResultSet_getResultSetMetaData(SQLDBC_ResultSet* hdl);
01344 
01351   SQLDBC_DLLEXPORT
01352   SQLDBC_Int4 SQLDBC_ResultSet_getResultCount (SQLDBC_ResultSet* hdl);
01353 
01394   SQLDBC_DLLEXPORT
01395   SQLDBC_Retcode SQLDBC_ResultSet_bindColumn (SQLDBC_ResultSet* hdl,
01396                              SQLDBC_UInt4    Index,
01397                              SQLDBC_HostType Type,
01398                              void                 *paramAddr,
01399                              SQLDBC_Length        *LengthIndicator,
01400                              SQLDBC_Length   Size,
01401                              SQLDBC_Bool     Terminate);
01402 
01446   /* #methodmap SQLDBC_ResultSet_bindColumnByPos bindColumn */
01447   SQLDBC_DLLEXPORT
01448   SQLDBC_Retcode SQLDBC_ResultSet_bindColumnByPos (SQLDBC_ResultSet* hdl,
01449                              SQLDBC_UInt4    Index,
01450                              SQLDBC_HostType Type,
01451                              void                 *paramAddr,
01452                              SQLDBC_Length        *LengthIndicator,
01453                              SQLDBC_Length        *PositionIndicator,
01454                              SQLDBC_Length   Size,
01455                              SQLDBC_Bool     Terminate);
01456 
01465   SQLDBC_DLLEXPORT
01466   SQLDBC_Retcode SQLDBC_ResultSet_clearColumns(SQLDBC_ResultSet* hdl);
01467 
01479    SQLDBC_DLLEXPORT
01480    void SQLDBC_ResultSet_setFetchSize(SQLDBC_ResultSet* hdl, SQLDBC_Int2 fetchsize);
01481 
01489   SQLDBC_DLLEXPORT
01490   void SQLDBC_ResultSet_setRowSetSize (SQLDBC_ResultSet *hdl, SQLDBC_UInt4 rowsetsize);
01491 
01499   SQLDBC_DLLEXPORT
01500   SQLDBC_UInt4 SQLDBC_ResultSet_getRowSetSize (SQLDBC_ResultSet* hdl);
01501 
01509   SQLDBC_DLLEXPORT
01510   SQLDBC_RowSet * SQLDBC_ResultSet_getRowSet (SQLDBC_ResultSet* hdl);
01511 
01520   SQLDBC_DLLEXPORT
01521   SQLDBC_UpdatableRowSet * SQLDBC_ResultSet_getUpdatableRowSet (SQLDBC_ResultSet* hdl);
01522 
01530   SQLDBC_DLLEXPORT
01531   SQLDBC_Statement * SQLDBC_ResultSet_getStatement(SQLDBC_ResultSet* hdl);
01532 
01539   SQLDBC_DLLEXPORT
01540   SQLDBC_Bool * SQLDBC_ResultSet_isUpdatable(SQLDBC_ResultSet* hdl);
01541 
01554   SQLDBC_DLLEXPORT
01555   SQLDBC_Retcode SQLDBC_ResultSet_first(SQLDBC_ResultSet* hdl);
01556 
01574   SQLDBC_DLLEXPORT
01575   SQLDBC_Retcode SQLDBC_ResultSet_next(SQLDBC_ResultSet* hdl);
01576 
01588   SQLDBC_DLLEXPORT
01589   SQLDBC_Retcode SQLDBC_ResultSet_previous(SQLDBC_ResultSet* hdl);
01590 
01602   SQLDBC_DLLEXPORT
01603   SQLDBC_Retcode SQLDBC_ResultSet_last(SQLDBC_ResultSet* hdl);
01604 
01635   SQLDBC_DLLEXPORT
01636   SQLDBC_Retcode SQLDBC_ResultSet_absolute (SQLDBC_ResultSet* hdl, int row);
01637 
01661   SQLDBC_DLLEXPORT
01662   SQLDBC_Retcode SQLDBC_ResultSet_relative(SQLDBC_ResultSet* hdl, int relativePos);
01663 
01669   SQLDBC_DLLEXPORT
01670   void SQLDBC_ResultSet_close(SQLDBC_ResultSet* hdl);
01671 
01679   SQLDBC_DLLEXPORT
01680   SQLDBC_UInt4 SQLDBC_ResultSet_getRowNumber(SQLDBC_ResultSet* hdl);
01681 
01735   SQLDBC_DLLEXPORT
01736   SQLDBC_Retcode SQLDBC_ResultSet_getObject(SQLDBC_ResultSet* hdl,
01737                            SQLDBC_Int4     Index,
01738                            SQLDBC_HostType Type,
01739                            void                 *paramAddr,
01740                            SQLDBC_Length        *LengthIndicator,
01741                            SQLDBC_Length   Size,
01742                            SQLDBC_Bool     Terminate);
01743 
01744 
01801   /* #methodmap SQLDBC_ResultSet_getObjectByPos getObject */
01802   SQLDBC_DLLEXPORT
01803   SQLDBC_Retcode SQLDBC_ResultSet_getObjectByPos(SQLDBC_ResultSet* hdl,
01804                            SQLDBC_Int4     Index,
01805                            SQLDBC_HostType Type,
01806                            void                 *paramAddr,
01807                            SQLDBC_Length        *LengthIndicator,
01808                            SQLDBC_Length   Size,
01809                            SQLDBC_Length         StartPos,
01810                            SQLDBC_Bool     Terminate);
01811 
01812 
01898     /* #methodmap SQLDBC_Statement_getError error */
01899     SQLDBC_DLLEXPORT
01900      SQLDBC_ErrorHndl* /*#cast &*/ SQLDBC_Statement_getError(SQLDBC_Statement* hdl);
01901 
01906     SQLDBC_DLLEXPORT
01907     void SQLDBC_Statement_clearError(SQLDBC_Statement* hdl);
01908 
01918     /* #methodmap SQLDBC_Statement_getWarning warning */
01919     SQLDBC_DLLEXPORT
01920     SQLDBC_SQLWarning* SQLDBC_Statement_getWarning(SQLDBC_Statement* hdl);
01921 
01926     SQLDBC_DLLEXPORT
01927     void SQLDBC_Statement_clearWarnings(SQLDBC_Statement* hdl);
01928 
01946   SQLDBC_DLLEXPORT
01947   SQLDBC_Retcode SQLDBC_Statement_execute(SQLDBC_Statement* hdl,
01948                          char *sql,
01949                          SQLDBC_Length sqlLength,
01950                          SQLDBC_StringEncodingType_Encoding encoding);
01951 
01969   /* #methodmap SQLDBC_Statement_executeNTS execute */
01970   SQLDBC_DLLEXPORT
01971   SQLDBC_Retcode SQLDBC_Statement_executeNTS(SQLDBC_Statement* hdl,
01972                          char *sql,
01973                          SQLDBC_StringEncodingType_Encoding encoding);
01974 
01989   /* #methodmap SQLDBC_Statement_executeASCII execute */
01990   SQLDBC_DLLEXPORT
01991   SQLDBC_Retcode SQLDBC_Statement_executeASCII(SQLDBC_Statement* hdl, char *sql);
01992 
02008   SQLDBC_DLLEXPORT
02009   void SQLDBC_Statement_setResultSetFetchSize(SQLDBC_Statement* hdl, SQLDBC_Int2 rows);
02010 
02025   SQLDBC_DLLEXPORT
02026   void SQLDBC_Statement_setMaxRows(SQLDBC_Statement* hdl, SQLDBC_UInt4 rows);
02027 
02037   SQLDBC_DLLEXPORT
02038   SQLDBC_UInt4 SQLDBC_Statement_getMaxRows(SQLDBC_Statement* hdl);
02039 
02049   SQLDBC_DLLEXPORT
02050   SQLDBC_ResultSet * SQLDBC_Statement_getResultSet(SQLDBC_Statement* hdl);
02051 
02067   SQLDBC_DLLEXPORT
02068   void SQLDBC_Statement_setCursorName(SQLDBC_Statement* hdl,
02069                      char    *buffer,
02070                      SQLDBC_Length  bufferLength,
02071                      SQLDBC_StringEncodingType_Encoding encoding);
02072 
02091   SQLDBC_DLLEXPORT
02092     SQLDBC_Retcode SQLDBC_Statement_setCommandInfo(SQLDBC_Statement* hdl,
02093                                const char *buffer,
02094                                SQLDBC_Length bufferLength,
02095                                SQLDBC_Int4 lineNumber);
02119   SQLDBC_DLLEXPORT
02120   SQLDBC_Retcode SQLDBC_Statement_getCursorName(SQLDBC_Statement* hdl,
02121                                char         *buffer,
02122                                SQLDBC_StringEncodingType_Encoding encoding,
02123                                SQLDBC_Length bufferSize,
02124                                SQLDBC_Length *bufferLength);
02125 
02143   SQLDBC_DLLEXPORT
02144   SQLDBC_Retcode SQLDBC_Statement_getTableName(SQLDBC_Statement* hdl,
02145                               char          *buffer,
02146                               SQLDBC_StringEncodingType_Encoding encoding,
02147                               SQLDBC_Length  bufferSize,
02148                               SQLDBC_Length *bufferLength);
02149 
02165   SQLDBC_DLLEXPORT
02166   SQLDBC_Bool SQLDBC_Statement_isQuery(SQLDBC_Statement* hdl);
02167 
02179   SQLDBC_DLLEXPORT
02180   SQLDBC_Int4 SQLDBC_Statement_getRowsAffected(SQLDBC_Statement* hdl);
02181 
02182 typedef enum SQLDBC_Statement_ResultSetType {
02183     SQLDBC_Statement_ResultSetType_FORWARD_ONLY = 1,      
02184     SQLDBC_Statement_ResultSetType_SCROLL_SENSITIVE = 2,  
02185     SQLDBC_Statement_ResultSetType_SCROLL_INSENSITIVE = 3 
02186   } SQLDBC_Statement_ResultSetType ;
02187 
02208   SQLDBC_DLLEXPORT
02209   void SQLDBC_Statement_setResultSetType (SQLDBC_Statement* hdl, SQLDBC_Statement_ResultSetType type );
02210 
02223   SQLDBC_DLLEXPORT
02224   SQLDBC_Statement_ResultSetType SQLDBC_Statement_getResultSetType(SQLDBC_Statement* hdl);
02225 
02226 typedef enum SQLDBC_Statement_ConcurrencyType {
02227     SQLDBC_Statement_ConcurrencyType_CONCUR_UPDATABLE = 10, 
02228     SQLDBC_Statement_ConcurrencyType_CONCUR_READ_ONLY = 11  
02229   }SQLDBC_Statement_ConcurrencyType;
02230 
02246   SQLDBC_DLLEXPORT
02247   void SQLDBC_Statement_setResultSetConcurrencyType (SQLDBC_Statement* hdl, SQLDBC_Statement_ConcurrencyType type);
02248 
02249 typedef enum SQLDBC_Statement_HoldabilityType {
02250     SQLDBC_Statement_HoldabilityType_CURSOR_HOLD_OVER_COMMIT = 20, 
02251     SQLDBC_Statement_HoldabilityType_CURSOR_CLOSE_ON_COMMIT = 21   
02252   } SQLDBC_Statement_HoldabilityType;
02253 
02264   SQLDBC_DLLEXPORT
02265   SQLDBC_Statement_ConcurrencyType SQLDBC_Statement_getResultSetConcurrencyType(SQLDBC_Statement* hdl);
02266 
02277     SQLDBC_DLLEXPORT
02278     SQLDBC_Int4 * SQLDBC_Statement_getRowStatus(SQLDBC_Statement* hdl);
02279 
02287     SQLDBC_DLLEXPORT
02288     SQLDBC_UInt4 SQLDBC_Statement_getBatchSize(SQLDBC_Statement* hdl);
02289 
02302     SQLDBC_DLLEXPORT
02303     SQLDBC_Retcode SQLDBC_Statement_addBatch(SQLDBC_Statement* hdl,
02304                                   char *sql,
02305                                   SQLDBC_Length sqlLength,
02306                                   SQLDBC_StringEncodingType_Encoding encoding);
02307 
02316     /* #methodmap SQLDBC_Statement_addBatchNTS addBatch */
02317     SQLDBC_DLLEXPORT
02318     SQLDBC_Retcode SQLDBC_Statement_addBatchNTS(SQLDBC_Statement* hdl,
02319                                   char *sql,
02320                                   SQLDBC_StringEncodingType_Encoding encoding);
02321 
02330     /* #methodmap SQLDBC_Statement_addBatchASCII addBatch */
02331     SQLDBC_DLLEXPORT
02332     SQLDBC_Retcode SQLDBC_Statement_addBatchASCII(SQLDBC_Statement* hdl, char *sql);
02333 
02342     SQLDBC_DLLEXPORT
02343     SQLDBC_Retcode SQLDBC_Statement_executeBatch(SQLDBC_Statement* hdl);
02344 
02350     SQLDBC_DLLEXPORT
02351     void SQLDBC_Statement_clearBatch(SQLDBC_Statement* hdl);
02352 
02368     SQLDBC_DLLEXPORT
02369    SQLDBC_Retcode SQLDBC_Statement_getLastInsertedKey(SQLDBC_Statement *hdl,
02370                                                       SQLDBC_Int4      tag,
02371                                                       SQLDBC_HostType type,
02372                                                       void            *paramAddr,
02373                                                       SQLDBC_Length   *lengthIndicator,
02374                                                       SQLDBC_Length    size,
02375                                                       SQLDBC_Bool      terminate);
02376 
02377 
02378 
02445 #ifndef BUILD_INTERFACE_RUNTIME
02446 typedef struct SQLDBC_PreparedStatement SQLDBC_PreparedStatement;
02447 #endif /* BUILD_INTERFACE_RUNTIME */
02448 
02459     /* #methodmap SQLDBC_PreparedStatement_getError error */
02460     SQLDBC_DLLEXPORT
02461      SQLDBC_ErrorHndl* /*#cast &*/ SQLDBC_PreparedStatement_getError(SQLDBC_PreparedStatement* hdl);
02462 
02467     SQLDBC_DLLEXPORT
02468     void SQLDBC_PreparedStatement_clearError(SQLDBC_PreparedStatement* hdl);
02469 
02479     /* #methodmap SQLDBC_PreparedStatement_getWarning warning */
02480     SQLDBC_DLLEXPORT
02481     SQLDBC_SQLWarning* SQLDBC_PreparedStatement_getWarning(SQLDBC_PreparedStatement* hdl);
02482 
02487     SQLDBC_DLLEXPORT
02488     void SQLDBC_PreparedStatement_clearWarnings(SQLDBC_PreparedStatement* hdl);
02489 
02490 
02506   SQLDBC_DLLEXPORT
02507   void SQLDBC_PreparedStatement_setResultSetFetchSize(SQLDBC_PreparedStatement* hdl, SQLDBC_Int2 rows);
02508 
02523   SQLDBC_DLLEXPORT
02524   void SQLDBC_PreparedStatement_setMaxRows(SQLDBC_PreparedStatement* hdl, SQLDBC_UInt4 rows);
02525 
02535   SQLDBC_DLLEXPORT
02536   SQLDBC_UInt4 SQLDBC_PreparedStatement_getMaxRows(SQLDBC_PreparedStatement* hdl);
02537 
02547   SQLDBC_DLLEXPORT
02548   SQLDBC_ResultSet * SQLDBC_PreparedStatement_getResultSet(SQLDBC_PreparedStatement* hdl);
02549 
02565   SQLDBC_DLLEXPORT
02566   void SQLDBC_PreparedStatement_setCursorName(SQLDBC_PreparedStatement* hdl,
02567                      const char    *buffer,
02568                      SQLDBC_Length  bufferLength,
02569                      const SQLDBC_StringEncodingType_Encoding encoding);
02570 
02588   SQLDBC_DLLEXPORT
02589     SQLDBC_Retcode SQLDBC_PreparedStatement_setCommandInfo(SQLDBC_PreparedStatement* hdl,
02590                                const char *buffer,
02591                                SQLDBC_Length bufferLength,
02592                                SQLDBC_Int4 lineNumber);
02616   SQLDBC_DLLEXPORT
02617   SQLDBC_Retcode SQLDBC_PreparedStatement_getCursorName(SQLDBC_PreparedStatement* hdl,
02618                                char         *buffer,
02619                                const SQLDBC_StringEncodingType_Encoding encoding,
02620                                const SQLDBC_Length bufferSize,
02621                                SQLDBC_Length *bufferLength);
02622 
02640   SQLDBC_DLLEXPORT
02641   SQLDBC_Retcode SQLDBC_PreparedStatement_getTableName(SQLDBC_PreparedStatement* hdl,
02642                               char          *buffer,
02643                               const SQLDBC_StringEncodingType_Encoding encoding,
02644                               const SQLDBC_Length  bufferSize,
02645                               SQLDBC_Length *bufferLength);
02646 
02662   SQLDBC_DLLEXPORT
02663   SQLDBC_Bool SQLDBC_PreparedStatement_isQuery(SQLDBC_PreparedStatement* hdl);
02664 
02676   SQLDBC_DLLEXPORT
02677   SQLDBC_Int4 SQLDBC_PreparedStatement_getRowsAffected(SQLDBC_PreparedStatement* hdl);
02678 
02699   SQLDBC_DLLEXPORT
02700   void SQLDBC_PreparedStatement_setResultSetType (SQLDBC_PreparedStatement* hdl, SQLDBC_Statement_ResultSetType type );
02701 
02714   SQLDBC_DLLEXPORT
02715   SQLDBC_Statement_ResultSetType SQLDBC_PreparedStatement_getResultSetType(SQLDBC_PreparedStatement* hdl);
02716 
02732   SQLDBC_DLLEXPORT
02733   void SQLDBC_PreparedStatement_setResultSetConcurrencyType (SQLDBC_PreparedStatement* hdl, SQLDBC_Statement_ConcurrencyType type);
02734 
02745   SQLDBC_DLLEXPORT
02746   SQLDBC_Statement_ConcurrencyType SQLDBC_PreparedStatement_getResultSetConcurrencyType(SQLDBC_PreparedStatement* hdl);
02747 
02758     SQLDBC_DLLEXPORT
02759     SQLDBC_Int4 * SQLDBC_PreparedStatement_getRowStatus(SQLDBC_PreparedStatement* hdl);
02760 
02768     SQLDBC_DLLEXPORT
02769     SQLDBC_UInt4 SQLDBC_PreparedStatement_getBatchSize(SQLDBC_PreparedStatement* hdl);
02770 
02771 
02780     SQLDBC_DLLEXPORT
02781     SQLDBC_Retcode SQLDBC_PreparedStatement_executeBatch(SQLDBC_PreparedStatement* hdl);
02782 
02788     SQLDBC_DLLEXPORT
02789     void SQLDBC_PreparedStatement_clearBatch(SQLDBC_PreparedStatement* hdl);
02790 
02806     SQLDBC_DLLEXPORT
02807     SQLDBC_Retcode SQLDBC_PreparedStatement_getLastInsertedKey(SQLDBC_PreparedStatement *hdl,
02808                                                                SQLDBC_Int4      tag,
02809                                                                SQLDBC_HostType type,
02810                                                                void            *paramAddr,
02811                                                                SQLDBC_Length   *lengthIndicator,
02812                                                                SQLDBC_Length    size,
02813                                                                SQLDBC_Bool      terminate);
02814 
02825   SQLDBC_DLLEXPORT
02826   SQLDBC_Retcode SQLDBC_PreparedStatement_prepare(SQLDBC_PreparedStatement* hdl,
02827                          const char *sql,
02828                          const SQLDBC_Length sqlLength,
02829                          const SQLDBC_StringEncodingType_Encoding encoding);
02830 
02844     /* #methodmap SQLDBC_PreparedStatement_prepareNTS prepare */
02845   SQLDBC_DLLEXPORT
02846   SQLDBC_Retcode SQLDBC_PreparedStatement_prepareNTS(SQLDBC_PreparedStatement* hdl,
02847                          const char *sql,
02848                          const SQLDBC_StringEncodingType_Encoding encoding);
02849 
02860   /* #methodmap SQLDBC_PreparedStatement_prepareASCII prepare */
02861   SQLDBC_DLLEXPORT
02862   SQLDBC_Retcode SQLDBC_PreparedStatement_prepareASCII(SQLDBC_PreparedStatement* hdl, const char *sql);
02863 
02878   /* #methodmap SQLDBC_PreparedStatement_executeASCII execute */
02879 SQLDBC_DLLEXPORT
02880   SQLDBC_Retcode SQLDBC_PreparedStatement_executeASCII(SQLDBC_PreparedStatement* hdl);
02881 
02893   SQLDBC_DLLEXPORT
02894   SQLDBC_ParameterMetaData* SQLDBC_PreparedStatement_getParameterMetaData(SQLDBC_PreparedStatement* hdl);
02895 
02918   SQLDBC_DLLEXPORT
02919   SQLDBC_ResultSetMetaData* SQLDBC_PreparedStatement_getResultSetMetaData(SQLDBC_PreparedStatement* hdl);
02920 
02929   SQLDBC_DLLEXPORT
02930   SQLDBC_Retcode SQLDBC_PreparedStatement_setBatchSize(SQLDBC_PreparedStatement* hdl, SQLDBC_UInt4 rowarraysize);
02931 
02943   SQLDBC_DLLEXPORT
02944   SQLDBC_Retcode SQLDBC_PreparedStatement_clearParameters(SQLDBC_PreparedStatement* hdl);
02945 
02946 
02986   SQLDBC_DLLEXPORT
02987   SQLDBC_Retcode SQLDBC_PreparedStatement_bindParameter (SQLDBC_PreparedStatement* hdl,
02988                                 const SQLDBC_UInt2     Index,
02989                                 const SQLDBC_HostType  Type,
02990                                 void                  *paramAddr,
02991                                 SQLDBC_Length         *LengthIndicator,
02992                                 const SQLDBC_Length    Size,
02993                                 const SQLDBC_Bool      Terminate);
02994 
03038   SQLDBC_DLLEXPORT
03039   SQLDBC_Retcode SQLDBC_PreparedStatement_bindParameterAddr(SQLDBC_PreparedStatement* hdl,
03040                                    const SQLDBC_UInt2    Index,
03041                                    const SQLDBC_HostType Type,
03042                                    void                 *paramAddr,
03043                                    SQLDBC_Length        *LengthIndicator,
03044                                    const SQLDBC_Length   Size,
03045                                    const SQLDBC_Bool     Terminate);
03046 
03065   SQLDBC_DLLEXPORT
03066   SQLDBC_Retcode SQLDBC_PreparedStatement_setBindingType(SQLDBC_PreparedStatement* hdl, SQLDBC_size_t size);
03067 
03068 
03091    SQLDBC_DLLEXPORT
03092    SQLDBC_Retcode SQLDBC_PreparedStatement_nextParameterByIndex(SQLDBC_PreparedStatement* hdl, SQLDBC_Int2* /*#cast **/paramIndex, void** /*#cast **/paramAddr);
03093 
03094 
03109   SQLDBC_DLLEXPORT
03110   SQLDBC_Retcode SQLDBC_PreparedStatement_putData(SQLDBC_PreparedStatement* hdl, void *paramAddr, SQLDBC_Length  *paramLengthIndicator);
03111 
03161   SQLDBC_DLLEXPORT
03162   SQLDBC_Retcode SQLDBC_PreparedStatement_getObject(
03163                            SQLDBC_PreparedStatement* hdl,
03164                            SQLDBC_Int4     Index,
03165                            SQLDBC_HostType Type,
03166                            void                 *paramAddr,
03167                            SQLDBC_Length        *LengthIndicator,
03168                            SQLDBC_Length   Size,
03169                            SQLDBC_Bool     Terminate);
03170 
03223    /* #methodmap SQLDBC_PreparedStatement_getObjectByPos getObject */
03224  SQLDBC_DLLEXPORT
03225   SQLDBC_Retcode SQLDBC_PreparedStatement_getObjectByPos(
03226                            SQLDBC_PreparedStatement* hdl,
03227                            SQLDBC_Int4     Index,
03228                            SQLDBC_HostType Type,
03229                            void                 *paramAddr,
03230                            SQLDBC_Length        *LengthIndicator,
03231                            SQLDBC_Length   Size,
03232                            SQLDBC_Length         StartPos,
03233                            SQLDBC_Bool     Terminate);
03234 
03235 
03313 #ifndef BUILD_INTERFACE_RUNTIME
03314 typedef struct SQLDBC_ConnectProperties SQLDBC_ConnectProperties;
03315 #endif /* BUILD_INTERFACE_RUNTIME */
03316 
03322   SQLDBC_DLLEXPORT
03323   /*#ignore - this is a hint for the c wrapper generator*/
03324   SQLDBC_ConnectProperties* SQLDBC_ConnectProperties_new_SQLDBC_ConnectProperties();
03325 
03326 
03331   /*#ignore - this is a hint for the c wrapper generator*/
03332   SQLDBC_DLLEXPORT
03333   void SQLDBC_ConnectProperties_delete_SQLDBC_ConnectProperties(SQLDBC_ConnectProperties* hdl);
03334 
03335 
03343   SQLDBC_DLLEXPORT
03344   void SQLDBC_ConnectProperties_setProperty(SQLDBC_ConnectProperties* hdl, const char *key, const char *value);
03345 
03354   SQLDBC_DLLEXPORT
03355   char * SQLDBC_ConnectProperties_getProperty(SQLDBC_ConnectProperties* hdl, const char *key, const char *defaultvalue);
03356 
03357 
03358 
03369 #ifndef BUILD_INTERFACE_RUNTIME
03370 typedef struct SQLDBC_Connection SQLDBC_Connection;
03371 #endif /* BUILD_INTERFACE_RUNTIME */
03372 
03383     /* #methodmap SQLDBC_Connection_getError error */
03384     SQLDBC_DLLEXPORT
03385      SQLDBC_ErrorHndl* /*#cast &*/ SQLDBC_Connection_getError(SQLDBC_Connection* hdl);
03386 
03391     SQLDBC_DLLEXPORT
03392     void SQLDBC_Connection_clearError(SQLDBC_Connection* hdl);
03393 
03403     /* #methodmap SQLDBC_Connection_getWarning warning */
03404     SQLDBC_DLLEXPORT
03405     SQLDBC_SQLWarning* SQLDBC_Connection_getWarning(SQLDBC_Connection* hdl);
03406 
03411     SQLDBC_DLLEXPORT
03412     void SQLDBC_Connection_clearWarnings(SQLDBC_Connection* hdl);
03413 
03414 
03538   SQLDBC_DLLEXPORT
03539   SQLDBC_Retcode SQLDBC_Connection_connect(SQLDBC_Connection* hdl,
03540                          const char* servernode,
03541                          SQLDBC_Length servernodeLength,
03542                          const char* serverdb,
03543                          SQLDBC_Length serverdbLength,
03544                          const char* username,
03545                          SQLDBC_Length usernameLength,
03546                          const char* password,
03547                          SQLDBC_Length passwordLength,
03548                          const SQLDBC_StringEncodingType_Encoding userpwdEncoding,
03549                          const SQLDBC_ConnectProperties* /*#cast **/ properties);
03550 
03574    /* #methodmap SQLDBC_Connection_connectNTS connect */
03575   SQLDBC_DLLEXPORT
03576   SQLDBC_Retcode SQLDBC_Connection_connectNTS(SQLDBC_Connection* hdl,
03577                          const char* servernode,
03578                          const char* serverdb,
03579                          const char* username,
03580                          const char* password,
03581                          const SQLDBC_StringEncodingType_Encoding userpwdEncoding,
03582                          const SQLDBC_ConnectProperties* /*#cast **/ properties);
03583 
03601   /* #methodmap SQLDBC_Connection_connectASCII connect */
03602   SQLDBC_DLLEXPORT
03603   SQLDBC_Retcode SQLDBC_Connection_connectASCII(SQLDBC_Connection* hdl,
03604                          const char* servernode,
03605                          const char* serverdb,
03606                          const char* username,
03607                          const char* password,
03608                          const SQLDBC_ConnectProperties* /*#cast **/ properties);
03609 
03610 
03611 
03626   /* #methodmap SQLDBC_Connection_connectPROP connect */
03627   SQLDBC_DLLEXPORT
03628   SQLDBC_Retcode SQLDBC_Connection_connectPROP(SQLDBC_Connection* hdl,
03629                          const SQLDBC_ConnectProperties* /*#cast **/ properties);
03630 
03631 
03646   SQLDBC_DLLEXPORT
03647   SQLDBC_Statement * SQLDBC_Connection_createStatement(SQLDBC_Connection* hdl);
03648 
03659   SQLDBC_DLLEXPORT
03660   SQLDBC_PreparedStatement * SQLDBC_Connection_createPreparedStatement(SQLDBC_Connection* hdl);
03661 
03673   SQLDBC_DLLEXPORT
03674   SQLDBC_Retcode SQLDBC_Connection_commit(SQLDBC_Connection* hdl);
03675 
03682   SQLDBC_DLLEXPORT
03683   SQLDBC_Retcode SQLDBC_Connection_rollback(SQLDBC_Connection* hdl);
03684 
03691   SQLDBC_DLLEXPORT
03692   void SQLDBC_Connection_releaseStatement(SQLDBC_Connection* hdl, SQLDBC_Statement *stmt);
03693 
03700   /* #methodmap SQLDBC_Connection_releasePreparedStatement releaseStatement */
03701   SQLDBC_DLLEXPORT
03702   void SQLDBC_Connection_releasePreparedStatement(SQLDBC_Connection* hdl, SQLDBC_PreparedStatement *stmt);
03703 
03720   SQLDBC_DLLEXPORT
03721   SQLDBC_Retcode SQLDBC_Connection_cancel(SQLDBC_Connection* hdl);
03722 
03738   SQLDBC_DLLEXPORT
03739   SQLDBC_Retcode SQLDBC_Connection_close(SQLDBC_Connection* hdl);
03740 
03741 
03757   SQLDBC_DLLEXPORT
03758   SQLDBC_Retcode SQLDBC_Connection_commitWorkRelease(SQLDBC_Connection* hdl);
03759 
03760 
03778   SQLDBC_DLLEXPORT
03779   SQLDBC_Retcode SQLDBC_Connection_disconnect(SQLDBC_Connection* hdl);
03780 
03781 
03789   SQLDBC_DLLEXPORT
03790   void SQLDBC_Connection_setAutoCommit(SQLDBC_Connection* hdl, SQLDBC_Bool autocommit);
03791 
03800   SQLDBC_DLLEXPORT
03801   SQLDBC_Bool SQLDBC_Connection_getAutoCommit(SQLDBC_Connection* hdl);
03802 
03814   SQLDBC_DLLEXPORT
03815   void SQLDBC_Connection_setSQLMode(SQLDBC_Connection* hdl, SQLDBC_SQLMode sqlmode);
03816 
03829   SQLDBC_DLLEXPORT
03830   SQLDBC_Retcode SQLDBC_Connection_setTransactionIsolation(SQLDBC_Connection* hdl, SQLDBC_Int4 isolationlevel);
03831 
03840   SQLDBC_DLLEXPORT
03841   SQLDBC_Int4 SQLDBC_Connection_getTransactionIsolation(SQLDBC_Connection* hdl);
03842 
03852   SQLDBC_DLLEXPORT
03853   SQLDBC_Bool SQLDBC_Connection_isConnected(SQLDBC_Connection* hdl);
03854 
03869   SQLDBC_DLLEXPORT
03870   SQLDBC_Int4 SQLDBC_Connection_getKernelVersion(SQLDBC_Connection* hdl);
03871 
03879   SQLDBC_DLLEXPORT
03880   SQLDBC_Bool SQLDBC_Connection_isUnicodeDatabase(SQLDBC_Connection* hdl);
03881 
03888   SQLDBC_DLLEXPORT
03889   SQLDBC_DateTimeFormat_Format SQLDBC_Connection_getDateTimeFormat(SQLDBC_Connection* hdl);
03890 
03891 
03896 #ifndef BUILD_INTERFACE_RUNTIME
03897 typedef struct SQLDBC_Environment SQLDBC_Environment;
03898 #endif /* BUILD_INTERFACE_RUNTIME */
03899 
03906   SQLDBC_DLLEXPORT
03907   /*#ignore - this is a hint for the c wrapper generator*/
03908   SQLDBC_Environment* SQLDBC_Environment_new_SQLDBC_Environment(SQLDBC_IRuntime* runtime);
03909 
03915   SQLDBC_DLLEXPORT
03916   /*#ignore - this is a hint for the c wrapper generator*/
03917   void SQLDBC_Environment_delete_SQLDBC_Environment(SQLDBC_Environment* hdl);
03918 
03926   SQLDBC_DLLEXPORT
03927   SQLDBC_Connection * SQLDBC_Environment_createConnection(SQLDBC_Environment* hdl);
03928 
03929 
03937   SQLDBC_DLLEXPORT
03938   void SQLDBC_Environment_releaseConnection(SQLDBC_Environment* hdl, SQLDBC_Connection *connection);
03939 
03955   SQLDBC_DLLEXPORT
03956   char * SQLDBC_Environment_getLibraryVersion(SQLDBC_Environment* hdl);
03957 
03967   SQLDBC_DLLEXPORT
03968   /*#ignore - this is a hint for the c wrapper generator*/
03969   char *getSDKVersion();
03970 
03971 
03981   /*#ignore - this is a hint for the c wrapper generator*/
03982 SQLDBC_DLLEXPORT SQLDBC_IRuntime* ClientRuntime_GetClientRuntime(char *errorText,SQLDBC_Int4 errorTextSize);
03983 
03993   /*#ignore - this is a hint for the c wrapper generator*/
03994 SQLDBC_DLLEXPORT SQLDBC_IRuntime* ClientRuntime_GetSingleThreadClientRuntime(char *errorText,SQLDBC_Int4 errorTextSize);
03995 
03996 #ifdef __cplusplus
03997 }
03998 #endif
03999 
04000 #endif //SQLDBC_H