You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by su...@apache.org on 2015/10/06 21:26:27 UTC
[20/31] incubator-trafodion git commit: Copyright changes part 3 and
cleanup work in dcs
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/69f18872/core/conn/unixodbc/odbc/Krypton/odbc_sv.c
----------------------------------------------------------------------
diff --git a/core/conn/unixodbc/odbc/Krypton/odbc_sv.c b/core/conn/unixodbc/odbc/Krypton/odbc_sv.c
deleted file mode 100644
index 768ecb6..0000000
--- a/core/conn/unixodbc/odbc/Krypton/odbc_sv.c
+++ /dev/null
@@ -1,6500 +0,0 @@
-/*
- * Translation unit: ODBC
- * Generated by CNPGEN(TANTAU CNPGEN TANTAU_AG_PC8 20001120.103031) on Fri Jun 18 12:53:24 2004
- * Code file for use with the CEE
- * Server functionality included
- */
-#include <stdarg.h>
-#include <cee.h>
-#if CEE_H_VERSION != 19991123
-#error Version mismatch CEE_H_VERSION != 19991123
-#endif
-#include <idltype.h>
-#if IDL_TYPE_H_VERSION != 19971225
-#error Version mismatch IDL_TYPE_H_VERSION != 19971225
-#endif
-typedef IDL_string UUID_def;
-typedef IDL_long DIALOGUE_ID_def;
-typedef IDL_char SQL_IDENTIFIER_def[129];
-typedef IDL_char STMT_NAME_def[31];
-typedef IDL_long SQL_DATATYPE_def;
-typedef IDL_char SQLSTATE_def[6];
-typedef IDL_string ERROR_STR_def;
-typedef struct SQL_DataValue_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- IDL_octet *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} SQL_DataValue_def;
-typedef IDL_short SQL_INDICATOR_def;
-typedef IDL_long_long INTERVAL_NUM_def;
-typedef IDL_char TIMESTAMP_STR_def[31];
-typedef struct USER_SID_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- IDL_octet *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} USER_SID_def;
-typedef struct USER_PASSWORD_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- IDL_octet *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} USER_PASSWORD_def;
-typedef struct USER_NAME_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- IDL_octet *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} USER_NAME_def;
-typedef IDL_long TIME_def;
-typedef IDL_short GEN_PARAM_TOKEN_def;
-typedef IDL_short GEN_PARAM_OPERATION_def;
-typedef struct GEN_PARAM_VALUE_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- IDL_octet *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} GEN_PARAM_VALUE_def;
-typedef IDL_char VPROC_def[33];
-struct ERROR_DESC_t {
- IDL_long rowId;
- IDL_long errorDiagnosticId;
- IDL_long sqlcode;
- SQLSTATE_def sqlstate;
- char pad_to_offset_24_[6];
- ERROR_STR_def errorText;
- IDL_PTR_PAD(errorText, 1)
- IDL_long operationAbortId;
- IDL_long errorCodeType;
- IDL_string Param1;
- IDL_PTR_PAD(Param1, 1)
- IDL_string Param2;
- IDL_PTR_PAD(Param2, 1)
- IDL_string Param3;
- IDL_PTR_PAD(Param3, 1)
- IDL_string Param4;
- IDL_PTR_PAD(Param4, 1)
- IDL_string Param5;
- IDL_PTR_PAD(Param5, 1)
- IDL_string Param6;
- IDL_PTR_PAD(Param6, 1)
- IDL_string Param7;
- IDL_PTR_PAD(Param7, 1)
-};
-typedef struct ERROR_DESC_t ERROR_DESC_def;
-typedef struct ERROR_DESC_LIST_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- ERROR_DESC_def *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} ERROR_DESC_LIST_def;
-struct SQLItemDesc_t {
- IDL_long version;
- SQL_DATATYPE_def dataType;
- IDL_long datetimeCode;
- IDL_long maxLen;
- IDL_short precision;
- IDL_short scale;
- IDL_boolean nullInfo;
- IDL_char colHeadingNm[61];
- IDL_boolean signType;
- char pad_to_offset_84_[1];
- IDL_long ODBCDataType;
- IDL_short ODBCPrecision;
- char pad_to_offset_92_[2];
- IDL_long SQLCharset;
- IDL_long ODBCCharset;
- IDL_char TableName[130];
- IDL_char CatalogName[130];
- IDL_char SchemaName[130];
- IDL_char Heading[130];
- IDL_long intLeadPrec;
- IDL_long paramMode;
-};
-typedef struct SQLItemDesc_t SQLItemDesc_def;
-typedef struct SQLItemDescList_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- SQLItemDesc_def *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} SQLItemDescList_def;
-struct SQLValue_t {
- SQL_DATATYPE_def dataType;
- SQL_INDICATOR_def dataInd;
- char pad_to_offset_8_[2];
- SQL_DataValue_def dataValue;
- IDL_long dataCharset;
- char pad_to_size_32_[4];
-};
-typedef struct SQLValue_t SQLValue_def;
-typedef struct SQLValueList_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- SQLValue_def *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} SQLValueList_def;
-typedef IDL_enum USER_DESC_TYPE_t;
-#define SID_TYPE ((IDL_enum) 0)
-#define AUTHENTICATED_USER_TYPE ((IDL_enum) 1)
-#define UNAUTHENTICATED_USER_TYPE ((IDL_enum) 2)
-#define PASSWORD_ENCRYPTED_USER_TYPE ((IDL_enum) 3)
-#define SID_ENCRYPTED_USER_TYPE ((IDL_enum) 4)
-#define WIN95_USER_TYPE ((IDL_enum) 5)
-typedef USER_DESC_TYPE_t USER_DESC_TYPE_def;
-struct USER_DESC_t {
- USER_DESC_TYPE_def userDescType;
- char pad_to_offset_8_[4];
- USER_SID_def userSid;
- IDL_string domainName;
- IDL_PTR_PAD(domainName, 1)
- IDL_string userName;
- IDL_PTR_PAD(userName, 1)
- USER_PASSWORD_def password;
-};
-typedef struct USER_DESC_t USER_DESC_def;
-struct VERSION_t {
- IDL_short componentId;
- IDL_short majorVersion;
- IDL_short minorVersion;
- char pad_to_offset_8_[2];
- IDL_unsigned_long buildId;
-};
-typedef struct VERSION_t VERSION_def;
-typedef struct VERSION_LIST_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- VERSION_def *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} VERSION_LIST_def;
-struct CONNECTION_CONTEXT_t {
- SQL_IDENTIFIER_def datasource;
- SQL_IDENTIFIER_def catalog;
- SQL_IDENTIFIER_def schema;
- SQL_IDENTIFIER_def location;
- SQL_IDENTIFIER_def userRole;
- char pad_to_offset_646_[1];
- IDL_short accessMode;
- IDL_short autoCommit;
- IDL_short queryTimeoutSec;
- IDL_short idleTimeoutSec;
- IDL_short loginTimeoutSec;
- IDL_short txnIsolationLevel;
- IDL_short rowSetSize;
- IDL_long diagnosticFlag;
- IDL_unsigned_long processId;
- IDL_char computerName[16];
- char pad_to_offset_688_[4];
- IDL_string windowText;
- IDL_PTR_PAD(windowText, 1)
- IDL_unsigned_long ctxACP;
- IDL_unsigned_long ctxDataLang;
- IDL_unsigned_long ctxErrorLang;
- IDL_short ctxCtrlInferNCHAR;
- char pad_to_offset_712_[2];
- VERSION_LIST_def clientVersionList;
-};
-typedef struct CONNECTION_CONTEXT_t CONNECTION_CONTEXT_def;
-struct OUT_CONNECTION_CONTEXT_t {
- VERSION_LIST_def versionList;
- IDL_short nodeId;
- char pad_to_offset_20_[2];
- IDL_unsigned_long processId;
- IDL_char computerName[16];
- SQL_IDENTIFIER_def catalog;
- SQL_IDENTIFIER_def schema;
- char pad_to_size_304_[6];
-};
-typedef struct OUT_CONNECTION_CONTEXT_t OUT_CONNECTION_CONTEXT_def;
-typedef IDL_char IDL_OBJECT_def[128];
-struct GEN_Param_t {
- GEN_PARAM_TOKEN_def paramToken;
- GEN_PARAM_OPERATION_def paramOperation;
- char pad_to_offset_8_[4];
- GEN_PARAM_VALUE_def paramValue;
-};
-typedef struct GEN_Param_t GEN_Param_def;
-typedef struct GEN_ParamList_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- GEN_Param_def *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} GEN_ParamList_def;
-struct RES_DESC_t {
- SQL_IDENTIFIER_def AttrNm;
- char pad_to_offset_136_[7];
- IDL_long_long Limit;
- IDL_string Action;
- IDL_PTR_PAD(Action, 1)
- IDL_long Settable;
- char pad_to_size_160_[4];
-};
-typedef struct RES_DESC_t RES_DESC_def;
-typedef struct RES_DESC_LIST_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- RES_DESC_def *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} RES_DESC_LIST_def;
-struct ENV_DESC_t {
- IDL_long VarSeq;
- IDL_long VarType;
- IDL_string VarVal;
- IDL_PTR_PAD(VarVal, 1)
-};
-typedef struct ENV_DESC_t ENV_DESC_def;
-typedef struct ENV_DESC_LIST_def_seq_ {
- IDL_unsigned_long _length;
- char pad_to_offset_8_[4];
- ENV_DESC_def *_buffer;
- IDL_PTR_PAD(_buffer, 1)
-} ENV_DESC_LIST_def;
-struct SRVR_CONTEXT_t {
- INTERVAL_NUM_def srvrIdleTimeout;
- INTERVAL_NUM_def connIdleTimeout;
- RES_DESC_LIST_def resDescList;
- ENV_DESC_LIST_def envDescList;
-};
-typedef struct SRVR_CONTEXT_t SRVR_CONTEXT_def;
-
-/*****************
- * Module 'odbc' *
- *****************/
-
-/***************************
- * Interface 'odbc_SQLSvc' *
- ***************************/
-typedef IDL_Object odbc_SQLSvc;
-struct odbc_SQLSvc_ParamError { /* Exception */
- IDL_string ParamDesc;
- IDL_PTR_PAD(ParamDesc, 1)
-};
-struct odbc_SQLSvc_SQLError { /* Exception */
- ERROR_DESC_LIST_def errorList;
-};
-/* Exception odbc_SQLSvc_SQLInvalidHandle has no members */
-/* Exception odbc_SQLSvc_SQLNeedData has no members */
-/* Exception odbc_SQLSvc_SQLNoDataFound has no members */
-struct odbc_SQLSvc_InvalidUser { /* Exception */
- ERROR_DESC_LIST_def errorList;
-};
-struct odbc_SQLSvc_SQLRetryCompile { /* Exception */
- ERROR_DESC_LIST_def errorList;
-};
-/* Exception odbc_SQLSvc_InvalidConnection has no members */
-struct odbc_SQLSvc_ProcessStopError { /* Exception */
- IDL_string ErrorText;
- IDL_PTR_PAD(ErrorText, 1)
-};
-/* Exception odbc_SQLSvc_SQLStillExecuting has no members */
-struct odbc_SQLSvc_SQLQueryCancelled { /* Exception */
- IDL_long sqlcode;
-};
-/* Exception odbc_SQLSvc_CancelNotPossible has no members */
-struct odbc_SQLSvc_CancelSQLError { /* Exception */
- IDL_long sqlcode;
-};
-/* Exception odbc_SQLSvc_TransactionError has no members */
-/* Exception odbc_SQLSvc_StatisticsError has no members */
-/* Exception odbc_SQLSvc_StatisticsAlreadyDisabled has no members */
-/* Exception odbc_SQLSvc_StatisticsAlreadyEnabled has no members */
-/* Exception odbc_SQLSvc_TraceError has no members */
-/* Exception odbc_SQLSvc_TraceAlreadyDisabled has no members */
-/* Exception odbc_SQLSvc_TraceAlreadyEnabled has no members */
-
-/**********************************************
- * Operation 'odbc_SQLSvc_InitializeDialogue' *
- **********************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-#define odbc_SQLSvc_InitializeDialogue_ParamError_exn_ 1
-#define odbc_SQLSvc_InitializeDialogue_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_InitializeDialogue_SQLError_exn_ 3
-#define odbc_SQLSvc_InitializeDialogue_SQLInvalidHandle_exn_ 4
-#define odbc_SQLSvc_InitializeDialogue_SQLNeedData_exn_ 5
-#define odbc_SQLSvc_InitializeDialogue_InvalidUser_exn_ 6
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-struct odbc_SQLSvc_InitializeDialogue_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- struct odbc_SQLSvc_InvalidUser InvalidUser;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_InitializeDialogue'
- */
-#define odbc_SQLSvc_InitializeDialogue_ldx_ ((IDL_unsigned_long) 1)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_InitializeDialogue'
- */
-#define odbc_SQLSvc_InitializeDialogue_osy_ ((IDL_long) 1359385411)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-typedef void (*odbc_SQLSvc_InitializeDialogue_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ const USER_DESC_def *userDesc
- , /* In */ const CONNECTION_CONTEXT_def *inContext
- , /* In */ DIALOGUE_ID_def dialogueId
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-static void
-odbc_SQLSvc_InitializeDialogue_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_InitializeDialogue_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (USER_DESC_def *) pv_[1]
- , (CONNECTION_CONTEXT_def *) pv_[2]
- , *(DIALOGUE_ID_def *) pv_[3]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-extern CEE_status
-odbc_SQLSvc_InitializeDialogue_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_InitializeDialogue_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 1 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_InitializeDialogue_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-extern CEE_status
-odbc_SQLSvc_InitializeDialogue_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_InitializeDialogue_exc_ *exception_
- , /* In */ const OUT_CONNECTION_CONTEXT_def *outContext
- )
-{
- static IDL_long osy_ = 1359385411;
- const void *pv_[3];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) outContext;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_InitializeDialogue'
- */
-typedef void (*odbc_SQLSvc_InitializeDialogue_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_InitializeDialogue_exc_ *exception_
- , /* In */ const USER_DESC_def *userDesc
- , /* In */ const CONNECTION_CONTEXT_def *inContext
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* Out */ OUT_CONNECTION_CONTEXT_def *outContext
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-static void
-odbc_SQLSvc_InitializeDialogue_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_InitializeDialogue_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_InitializeDialogue_exc_ *) pv_[1]
- , (USER_DESC_def *) pv_[2]
- , (CONNECTION_CONTEXT_def *) pv_[3]
- , *(DIALOGUE_ID_def *) pv_[4]
- , (OUT_CONNECTION_CONTEXT_def *) pv_[5]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-extern CEE_status
-odbc_SQLSvc_InitializeDialogue_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_InitializeDialogue_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 1 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_InitializeDialogue_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_InitializeDialogue'
- */
-extern CEE_status
-odbc_SQLSvc_InitializeDialogue_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_InitializeDialogue_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 1 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_InitializeDialogue_smw_);
-}
-
-/*********************************************
- * Operation 'odbc_SQLSvc_TerminateDialogue' *
- *********************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-#define odbc_SQLSvc_TerminateDialogue_ParamError_exn_ 1
-#define odbc_SQLSvc_TerminateDialogue_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_TerminateDialogue_SQLError_exn_ 3
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-struct odbc_SQLSvc_TerminateDialogue_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_TerminateDialogue'
- */
-#define odbc_SQLSvc_TerminateDialogue_ldx_ ((IDL_unsigned_long) 2)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_TerminateDialogue'
- */
-#define odbc_SQLSvc_TerminateDialogue_osy_ ((IDL_long) -1443365892)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-typedef void (*odbc_SQLSvc_TerminateDialogue_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-static void
-odbc_SQLSvc_TerminateDialogue_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_TerminateDialogue_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-extern CEE_status
-odbc_SQLSvc_TerminateDialogue_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_TerminateDialogue_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 2 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_TerminateDialogue_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-extern CEE_status
-odbc_SQLSvc_TerminateDialogue_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_TerminateDialogue_exc_ *exception_
- )
-{
- static IDL_long osy_ = -1443365892;
- const void *pv_[2];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_TerminateDialogue'
- */
-typedef void (*odbc_SQLSvc_TerminateDialogue_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_TerminateDialogue_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-static void
-odbc_SQLSvc_TerminateDialogue_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_TerminateDialogue_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_TerminateDialogue_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-extern CEE_status
-odbc_SQLSvc_TerminateDialogue_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_TerminateDialogue_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 2 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_TerminateDialogue_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_TerminateDialogue'
- */
-extern CEE_status
-odbc_SQLSvc_TerminateDialogue_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_TerminateDialogue_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 2 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_TerminateDialogue_smw_);
-}
-
-/***************************************
- * Operation 'odbc_SQLSvc_MonitorCall' *
- ***************************************/
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_MonitorCall'
- */
-struct odbc_SQLSvc_MonitorCall_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_MonitorCall'
- */
-#define odbc_SQLSvc_MonitorCall_ldx_ ((IDL_unsigned_long) 3)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_MonitorCall'
- */
-#define odbc_SQLSvc_MonitorCall_osy_ ((IDL_long) 1574086967)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_MonitorCall'
- */
-typedef void (*odbc_SQLSvc_MonitorCall_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_MonitorCall'
- */
-static void
-odbc_SQLSvc_MonitorCall_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_MonitorCall_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_MonitorCall'
- */
-extern CEE_status
-odbc_SQLSvc_MonitorCall_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_MonitorCall_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 3 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_MonitorCall_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_MonitorCall'
- */
-extern CEE_status
-odbc_SQLSvc_MonitorCall_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_MonitorCall_exc_ *exception_
- )
-{
- static IDL_long osy_ = 1574086967;
- const void *pv_[2];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_MonitorCall'
- */
-typedef void (*odbc_SQLSvc_MonitorCall_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_MonitorCall_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_MonitorCall'
- */
-static void
-odbc_SQLSvc_MonitorCall_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_MonitorCall_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_MonitorCall_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_MonitorCall'
- */
-extern CEE_status
-odbc_SQLSvc_MonitorCall_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_MonitorCall_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 3 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_MonitorCall_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_MonitorCall'
- */
-extern CEE_status
-odbc_SQLSvc_MonitorCall_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_MonitorCall_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 3 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_MonitorCall_smw_);
-}
-
-/***********************************************
- * Operation 'odbc_SQLSvc_SetConnectionOption' *
- ***********************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-#define odbc_SQLSvc_SetConnectionOption_ParamError_exn_ 1
-#define odbc_SQLSvc_SetConnectionOption_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_SetConnectionOption_SQLError_exn_ 3
-#define odbc_SQLSvc_SetConnectionOption_SQLInvalidHandle_exn_ 4
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-struct odbc_SQLSvc_SetConnectionOption_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_SetConnectionOption'
- */
-#define odbc_SQLSvc_SetConnectionOption_ldx_ ((IDL_unsigned_long) 4)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_SetConnectionOption'
- */
-#define odbc_SQLSvc_SetConnectionOption_osy_ ((IDL_long) 915354899)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-typedef void (*odbc_SQLSvc_SetConnectionOption_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_short connectionOption
- , /* In */ IDL_long optionValueNum
- , /* In */ IDL_string optionValueStr
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-static void
-odbc_SQLSvc_SetConnectionOption_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_SetConnectionOption_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , *(IDL_short *) pv_[2]
- , *(IDL_long *) pv_[3]
- , *(IDL_string *) pv_[4]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-extern CEE_status
-odbc_SQLSvc_SetConnectionOption_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetConnectionOption_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 4 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_SetConnectionOption_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-extern CEE_status
-odbc_SQLSvc_SetConnectionOption_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_SetConnectionOption_exc_ *exception_
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = 915354899;
- const void *pv_[3];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_SetConnectionOption'
- */
-typedef void (*odbc_SQLSvc_SetConnectionOption_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_SetConnectionOption_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_short connectionOption
- , /* In */ IDL_long optionValueNum
- , /* In */ IDL_string optionValueStr
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-static void
-odbc_SQLSvc_SetConnectionOption_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_SetConnectionOption_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_SetConnectionOption_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , *(IDL_short *) pv_[3]
- , *(IDL_long *) pv_[4]
- , *(IDL_string *) pv_[5]
- , (ERROR_DESC_LIST_def *) pv_[6]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-extern CEE_status
-odbc_SQLSvc_SetConnectionOption_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetConnectionOption_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 4 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_SetConnectionOption_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_SetConnectionOption'
- */
-extern CEE_status
-odbc_SQLSvc_SetConnectionOption_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetConnectionOption_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 4 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_SetConnectionOption_smw_);
-}
-
-/******************************************
- * Operation 'odbc_SQLSvc_EndTransaction' *
- ******************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-#define odbc_SQLSvc_EndTransaction_ParamError_exn_ 1
-#define odbc_SQLSvc_EndTransaction_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_EndTransaction_SQLError_exn_ 3
-#define odbc_SQLSvc_EndTransaction_SQLInvalidHandle_exn_ 4
-#define odbc_SQLSvc_EndTransaction_TransactionError_exn_ 5
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-struct odbc_SQLSvc_EndTransaction_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_EndTransaction'
- */
-#define odbc_SQLSvc_EndTransaction_ldx_ ((IDL_unsigned_long) 5)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_EndTransaction'
- */
-#define odbc_SQLSvc_EndTransaction_osy_ ((IDL_long) 1774722963)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-typedef void (*odbc_SQLSvc_EndTransaction_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_unsigned_short transactionOpt
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-static void
-odbc_SQLSvc_EndTransaction_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_EndTransaction_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , *(IDL_unsigned_short *) pv_[2]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-extern CEE_status
-odbc_SQLSvc_EndTransaction_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_EndTransaction_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 5 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_EndTransaction_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-extern CEE_status
-odbc_SQLSvc_EndTransaction_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_EndTransaction_exc_ *exception_
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = 1774722963;
- const void *pv_[3];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_EndTransaction'
- */
-typedef void (*odbc_SQLSvc_EndTransaction_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_EndTransaction_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_unsigned_short transactionOpt
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-static void
-odbc_SQLSvc_EndTransaction_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_EndTransaction_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_EndTransaction_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , *(IDL_unsigned_short *) pv_[3]
- , (ERROR_DESC_LIST_def *) pv_[4]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-extern CEE_status
-odbc_SQLSvc_EndTransaction_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_EndTransaction_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 5 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_EndTransaction_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_EndTransaction'
- */
-extern CEE_status
-odbc_SQLSvc_EndTransaction_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_EndTransaction_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 5 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_EndTransaction_smw_);
-}
-
-/***********************************
- * Operation 'odbc_SQLSvc_Prepare' *
- ***********************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_Prepare'
- */
-#define odbc_SQLSvc_Prepare_ParamError_exn_ 1
-#define odbc_SQLSvc_Prepare_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_Prepare_SQLError_exn_ 3
-#define odbc_SQLSvc_Prepare_SQLStillExecuting_exn_ 4
-#define odbc_SQLSvc_Prepare_SQLQueryCancelled_exn_ 5
-#define odbc_SQLSvc_Prepare_TransactionError_exn_ 6
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_Prepare'
- */
-struct odbc_SQLSvc_Prepare_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- struct odbc_SQLSvc_SQLQueryCancelled SQLQueryCancelled;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_Prepare'
- */
-#define odbc_SQLSvc_Prepare_ldx_ ((IDL_unsigned_long) 6)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_Prepare'
- */
-#define odbc_SQLSvc_Prepare_osy_ ((IDL_long) 620562877)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_Prepare'
- */
-typedef void (*odbc_SQLSvc_Prepare_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ const IDL_char *stmtExplainLabel
- , /* In */ IDL_short stmtType
- , /* In */ IDL_string sqlString
- , /* In */ IDL_short sqlAsyncEnable
- , /* In */ IDL_long queryTimeout
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_Prepare'
- */
-static void
-odbc_SQLSvc_Prepare_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_Prepare_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , (IDL_char *) pv_[2]
- , (IDL_char *) pv_[3]
- , *(IDL_short *) pv_[4]
- , *(IDL_string *) pv_[5]
- , *(IDL_short *) pv_[6]
- , *(IDL_long *) pv_[7]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_Prepare'
- */
-extern CEE_status
-odbc_SQLSvc_Prepare_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_Prepare_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 6 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_Prepare_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_Prepare'
- */
-extern CEE_status
-odbc_SQLSvc_Prepare_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_Prepare_exc_ *exception_
- , /* In */ IDL_long estimatedCost
- , /* In */ const SQLItemDescList_def *inputDesc
- , /* In */ const SQLItemDescList_def *outputDesc
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = 620562877;
- const void *pv_[6];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) &estimatedCost;
- pv_[3] = (void *) inputDesc;
- pv_[4] = (void *) outputDesc;
- pv_[5] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_Prepare'
- */
-typedef void (*odbc_SQLSvc_Prepare_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_Prepare_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ const IDL_char *stmtExplainLabel
- , /* In */ IDL_short stmtType
- , /* In */ IDL_string sqlString
- , /* In */ IDL_short sqlAsyncEnable
- , /* In */ IDL_long queryTimeout
- , /* Out */ IDL_long *estimatedCost
- , /* Out */ SQLItemDescList_def *inputDesc
- , /* Out */ SQLItemDescList_def *outputDesc
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_Prepare'
- */
-static void
-odbc_SQLSvc_Prepare_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_Prepare_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_Prepare_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , (IDL_char *) pv_[3]
- , (IDL_char *) pv_[4]
- , *(IDL_short *) pv_[5]
- , *(IDL_string *) pv_[6]
- , *(IDL_short *) pv_[7]
- , *(IDL_long *) pv_[8]
- , (IDL_long *) pv_[9]
- , (SQLItemDescList_def *) pv_[10]
- , (SQLItemDescList_def *) pv_[11]
- , (ERROR_DESC_LIST_def *) pv_[12]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_Prepare'
- */
-extern CEE_status
-odbc_SQLSvc_Prepare_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_Prepare_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 6 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_Prepare_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_Prepare'
- */
-extern CEE_status
-odbc_SQLSvc_Prepare_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_Prepare_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 6 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_Prepare_smw_);
-}
-
-/**************************************
- * Operation 'odbc_SQLSvc_ExecDirect' *
- **************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-#define odbc_SQLSvc_ExecDirect_ParamError_exn_ 1
-#define odbc_SQLSvc_ExecDirect_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_ExecDirect_SQLError_exn_ 3
-#define odbc_SQLSvc_ExecDirect_SQLStillExecuting_exn_ 4
-#define odbc_SQLSvc_ExecDirect_SQLQueryCancelled_exn_ 5
-#define odbc_SQLSvc_ExecDirect_TransactionError_exn_ 6
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-struct odbc_SQLSvc_ExecDirect_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- struct odbc_SQLSvc_SQLQueryCancelled SQLQueryCancelled;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_ExecDirect'
- */
-#define odbc_SQLSvc_ExecDirect_ldx_ ((IDL_unsigned_long) 7)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_ExecDirect'
- */
-#define odbc_SQLSvc_ExecDirect_osy_ ((IDL_long) 2144051445)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-typedef void (*odbc_SQLSvc_ExecDirect_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_string cursorName
- , /* In */ const IDL_char *stmtExplainLabel
- , /* In */ IDL_short stmtType
- , /* In */ IDL_short sqlStmtType
- , /* In */ IDL_string sqlString
- , /* In */ IDL_short sqlAsyncEnable
- , /* In */ IDL_long queryTimeout
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-static void
-odbc_SQLSvc_ExecDirect_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_ExecDirect_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , (IDL_char *) pv_[2]
- , *(IDL_string *) pv_[3]
- , (IDL_char *) pv_[4]
- , *(IDL_short *) pv_[5]
- , *(IDL_short *) pv_[6]
- , *(IDL_string *) pv_[7]
- , *(IDL_short *) pv_[8]
- , *(IDL_long *) pv_[9]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-extern CEE_status
-odbc_SQLSvc_ExecDirect_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ExecDirect_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 7 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_ExecDirect_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-extern CEE_status
-odbc_SQLSvc_ExecDirect_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_ExecDirect_exc_ *exception_
- , /* In */ IDL_long estimatedCost
- , /* In */ const SQLItemDescList_def *outputDesc
- , /* In */ IDL_long rowsAffected
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = 2144051445;
- const void *pv_[6];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) &estimatedCost;
- pv_[3] = (void *) outputDesc;
- pv_[4] = (void *) &rowsAffected;
- pv_[5] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_ExecDirect'
- */
-typedef void (*odbc_SQLSvc_ExecDirect_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_ExecDirect_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_string cursorName
- , /* In */ const IDL_char *stmtExplainLabel
- , /* In */ IDL_short stmtType
- , /* In */ IDL_short sqlStmtType
- , /* In */ IDL_string sqlString
- , /* In */ IDL_short sqlAsyncEnable
- , /* In */ IDL_long queryTimeout
- , /* Out */ IDL_long *estimatedCost
- , /* Out */ SQLItemDescList_def *outputDesc
- , /* Out */ IDL_long *rowsAffected
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-static void
-odbc_SQLSvc_ExecDirect_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_ExecDirect_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_ExecDirect_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , (IDL_char *) pv_[3]
- , *(IDL_string *) pv_[4]
- , (IDL_char *) pv_[5]
- , *(IDL_short *) pv_[6]
- , *(IDL_short *) pv_[7]
- , *(IDL_string *) pv_[8]
- , *(IDL_short *) pv_[9]
- , *(IDL_long *) pv_[10]
- , (IDL_long *) pv_[11]
- , (SQLItemDescList_def *) pv_[12]
- , (IDL_long *) pv_[13]
- , (ERROR_DESC_LIST_def *) pv_[14]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-extern CEE_status
-odbc_SQLSvc_ExecDirect_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ExecDirect_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 7 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_ExecDirect_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_ExecDirect'
- */
-extern CEE_status
-odbc_SQLSvc_ExecDirect_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ExecDirect_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 7 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_ExecDirect_smw_);
-}
-
-/************************************
- * Operation 'odbc_SQLSvc_ExecuteN' *
- ************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-#define odbc_SQLSvc_ExecuteN_ParamError_exn_ 1
-#define odbc_SQLSvc_ExecuteN_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_ExecuteN_SQLError_exn_ 3
-#define odbc_SQLSvc_ExecuteN_SQLInvalidHandle_exn_ 4
-#define odbc_SQLSvc_ExecuteN_SQLNeedData_exn_ 5
-#define odbc_SQLSvc_ExecuteN_SQLRetryCompile_exn_ 6
-#define odbc_SQLSvc_ExecuteN_SQLStillExecuting_exn_ 7
-#define odbc_SQLSvc_ExecuteN_SQLQueryCancelled_exn_ 8
-#define odbc_SQLSvc_ExecuteN_TransactionError_exn_ 9
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-struct odbc_SQLSvc_ExecuteN_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- struct odbc_SQLSvc_SQLRetryCompile SQLRetryCompile;
- struct odbc_SQLSvc_SQLQueryCancelled SQLQueryCancelled;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_ExecuteN'
- */
-#define odbc_SQLSvc_ExecuteN_ldx_ ((IDL_unsigned_long) 8)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_ExecuteN'
- */
-#define odbc_SQLSvc_ExecuteN_osy_ ((IDL_long) 1289684900)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-typedef void (*odbc_SQLSvc_ExecuteN_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_string cursorName
- , /* In */ IDL_short sqlStmtType
- , /* In */ IDL_long inputRowCnt
- , /* In */ const SQLValueList_def *inputValueList
- , /* In */ IDL_short sqlAsyncEnable
- , /* In */ IDL_long queryTimeout
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-static void
-odbc_SQLSvc_ExecuteN_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_ExecuteN_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , (IDL_char *) pv_[2]
- , *(IDL_string *) pv_[3]
- , *(IDL_short *) pv_[4]
- , *(IDL_long *) pv_[5]
- , (SQLValueList_def *) pv_[6]
- , *(IDL_short *) pv_[7]
- , *(IDL_long *) pv_[8]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-extern CEE_status
-odbc_SQLSvc_ExecuteN_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ExecuteN_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 8 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_ExecuteN_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-extern CEE_status
-odbc_SQLSvc_ExecuteN_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_ExecuteN_exc_ *exception_
- , /* In */ IDL_long rowsAffected
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = 1289684900;
- const void *pv_[4];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) &rowsAffected;
- pv_[3] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_ExecuteN'
- */
-typedef void (*odbc_SQLSvc_ExecuteN_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_ExecuteN_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_string cursorName
- , /* In */ IDL_short sqlStmtType
- , /* In */ IDL_long inputRowCnt
- , /* In */ const SQLValueList_def *inputValueList
- , /* In */ IDL_short sqlAsyncEnable
- , /* In */ IDL_long queryTimeout
- , /* Out */ IDL_long *rowsAffected
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-static void
-odbc_SQLSvc_ExecuteN_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_ExecuteN_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_ExecuteN_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , (IDL_char *) pv_[3]
- , *(IDL_string *) pv_[4]
- , *(IDL_short *) pv_[5]
- , *(IDL_long *) pv_[6]
- , (SQLValueList_def *) pv_[7]
- , *(IDL_short *) pv_[8]
- , *(IDL_long *) pv_[9]
- , (IDL_long *) pv_[10]
- , (ERROR_DESC_LIST_def *) pv_[11]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-extern CEE_status
-odbc_SQLSvc_ExecuteN_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ExecuteN_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 8 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_ExecuteN_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_ExecuteN'
- */
-extern CEE_status
-odbc_SQLSvc_ExecuteN_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ExecuteN_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 8 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_ExecuteN_smw_);
-}
-
-/**********************************
- * Operation 'odbc_SQLSvc_FetchN' *
- **********************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_FetchN'
- */
-#define odbc_SQLSvc_FetchN_ParamError_exn_ 1
-#define odbc_SQLSvc_FetchN_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_FetchN_SQLError_exn_ 3
-#define odbc_SQLSvc_FetchN_SQLInvalidHandle_exn_ 4
-#define odbc_SQLSvc_FetchN_SQLNoDataFound_exn_ 5
-#define odbc_SQLSvc_FetchN_SQLStillExecuting_exn_ 6
-#define odbc_SQLSvc_FetchN_SQLQueryCancelled_exn_ 7
-#define odbc_SQLSvc_FetchN_TransactionError_exn_ 8
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_FetchN'
- */
-struct odbc_SQLSvc_FetchN_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- struct odbc_SQLSvc_SQLQueryCancelled SQLQueryCancelled;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_FetchN'
- */
-#define odbc_SQLSvc_FetchN_ldx_ ((IDL_unsigned_long) 9)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_FetchN'
- */
-#define odbc_SQLSvc_FetchN_osy_ ((IDL_long) 149638890)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_FetchN'
- */
-typedef void (*odbc_SQLSvc_FetchN_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_long maxRowCnt
- , /* In */ IDL_long maxRowLen
- , /* In */ IDL_short sqlAsyncEnable
- , /* In */ IDL_long queryTimeout
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_FetchN'
- */
-static void
-odbc_SQLSvc_FetchN_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_FetchN_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , (IDL_char *) pv_[2]
- , *(IDL_long *) pv_[3]
- , *(IDL_long *) pv_[4]
- , *(IDL_short *) pv_[5]
- , *(IDL_long *) pv_[6]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_FetchN'
- */
-extern CEE_status
-odbc_SQLSvc_FetchN_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_FetchN_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 9 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_FetchN_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_FetchN'
- */
-extern CEE_status
-odbc_SQLSvc_FetchN_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_FetchN_exc_ *exception_
- , /* In */ IDL_long rowsAffected
- , /* In */ const SQLValueList_def *outputValueList
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = 149638890;
- const void *pv_[5];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) &rowsAffected;
- pv_[3] = (void *) outputValueList;
- pv_[4] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_FetchN'
- */
-typedef void (*odbc_SQLSvc_FetchN_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_FetchN_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_long maxRowCnt
- , /* In */ IDL_long maxRowLen
- , /* In */ IDL_short sqlAsyncEnable
- , /* In */ IDL_long queryTimeout
- , /* Out */ IDL_long *rowsAffected
- , /* Out */ SQLValueList_def *outputValueList
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_FetchN'
- */
-static void
-odbc_SQLSvc_FetchN_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_FetchN_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_FetchN_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , (IDL_char *) pv_[3]
- , *(IDL_long *) pv_[4]
- , *(IDL_long *) pv_[5]
- , *(IDL_short *) pv_[6]
- , *(IDL_long *) pv_[7]
- , (IDL_long *) pv_[8]
- , (SQLValueList_def *) pv_[9]
- , (ERROR_DESC_LIST_def *) pv_[10]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_FetchN'
- */
-extern CEE_status
-odbc_SQLSvc_FetchN_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_FetchN_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 9 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_FetchN_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_FetchN'
- */
-extern CEE_status
-odbc_SQLSvc_FetchN_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_FetchN_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 9 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_FetchN_smw_);
-}
-
-/*********************************
- * Operation 'odbc_SQLSvc_Close' *
- *********************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_Close'
- */
-#define odbc_SQLSvc_Close_ParamError_exn_ 1
-#define odbc_SQLSvc_Close_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_Close_SQLError_exn_ 3
-#define odbc_SQLSvc_Close_TransactionError_exn_ 4
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_Close'
- */
-struct odbc_SQLSvc_Close_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_Close'
- */
-#define odbc_SQLSvc_Close_ldx_ ((IDL_unsigned_long) 10)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_Close'
- */
-#define odbc_SQLSvc_Close_osy_ ((IDL_long) -670504925)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_Close'
- */
-typedef void (*odbc_SQLSvc_Close_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_unsigned_short freeResourceOpt
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_Close'
- */
-static void
-odbc_SQLSvc_Close_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_Close_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , (IDL_char *) pv_[2]
- , *(IDL_unsigned_short *) pv_[3]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_Close'
- */
-extern CEE_status
-odbc_SQLSvc_Close_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_Close_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 10 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_Close_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_Close'
- */
-extern CEE_status
-odbc_SQLSvc_Close_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_Close_exc_ *exception_
- , /* In */ IDL_long rowsAffected
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = -670504925;
- const void *pv_[4];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) &rowsAffected;
- pv_[3] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_Close'
- */
-typedef void (*odbc_SQLSvc_Close_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_Close_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_unsigned_short freeResourceOpt
- , /* Out */ IDL_long *rowsAffected
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_Close'
- */
-static void
-odbc_SQLSvc_Close_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_Close_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_Close_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , (IDL_char *) pv_[3]
- , *(IDL_unsigned_short *) pv_[4]
- , (IDL_long *) pv_[5]
- , (ERROR_DESC_LIST_def *) pv_[6]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_Close'
- */
-extern CEE_status
-odbc_SQLSvc_Close_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_Close_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 10 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_Close_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_Close'
- */
-extern CEE_status
-odbc_SQLSvc_Close_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_Close_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 10 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_Close_smw_);
-}
-
-/*******************************************
- * Operation 'odbc_SQLSvc_CancelStatement' *
- *******************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-#define odbc_SQLSvc_CancelStatement_ParamError_exn_ 1
-#define odbc_SQLSvc_CancelStatement_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_CancelStatement_CancelSQLError_exn_ 3
-#define odbc_SQLSvc_CancelStatement_SQLInvalidHandle_exn_ 4
-#define odbc_SQLSvc_CancelStatement_CancelNotPossible_exn_ 5
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-struct odbc_SQLSvc_CancelStatement_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_CancelSQLError CancelSQLError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_CancelStatement'
- */
-#define odbc_SQLSvc_CancelStatement_ldx_ ((IDL_unsigned_long) 11)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_CancelStatement'
- */
-#define odbc_SQLSvc_CancelStatement_osy_ ((IDL_long) -2103734653)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-typedef void (*odbc_SQLSvc_CancelStatement_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-static void
-odbc_SQLSvc_CancelStatement_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_CancelStatement_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , (IDL_char *) pv_[2]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-extern CEE_status
-odbc_SQLSvc_CancelStatement_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_CancelStatement_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 11 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_CancelStatement_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-extern CEE_status
-odbc_SQLSvc_CancelStatement_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_CancelStatement_exc_ *exception_
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = -2103734653;
- const void *pv_[3];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_CancelStatement'
- */
-typedef void (*odbc_SQLSvc_CancelStatement_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_CancelStatement_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-static void
-odbc_SQLSvc_CancelStatement_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_CancelStatement_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_CancelStatement_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , (IDL_char *) pv_[3]
- , (ERROR_DESC_LIST_def *) pv_[4]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-extern CEE_status
-odbc_SQLSvc_CancelStatement_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_CancelStatement_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 11 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_CancelStatement_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_CancelStatement'
- */
-extern CEE_status
-odbc_SQLSvc_CancelStatement_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_CancelStatement_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 11 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_CancelStatement_smw_);
-}
-
-/***************************************
- * Operation 'odbc_SQLSvc_SetDiagInfo' *
- ***************************************/
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_SetDiagInfo'
- */
-struct odbc_SQLSvc_SetDiagInfo_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_SetDiagInfo'
- */
-#define odbc_SQLSvc_SetDiagInfo_ldx_ ((IDL_unsigned_long) 12)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_SetDiagInfo'
- */
-#define odbc_SQLSvc_SetDiagInfo_osy_ ((IDL_long) 1012784524)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_SetDiagInfo'
- */
-typedef void (*odbc_SQLSvc_SetDiagInfo_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_long DiagnosticFlag
- , /* In */ IDL_string ClientPCName
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_SetDiagInfo'
- */
-static void
-odbc_SQLSvc_SetDiagInfo_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_SetDiagInfo_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , *(IDL_long *) pv_[2]
- , *(IDL_string *) pv_[3]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_SetDiagInfo'
- */
-extern CEE_status
-odbc_SQLSvc_SetDiagInfo_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetDiagInfo_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 12 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_SetDiagInfo_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_SetDiagInfo'
- */
-extern CEE_status
-odbc_SQLSvc_SetDiagInfo_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_SetDiagInfo_exc_ *exception_
- )
-{
- static IDL_long osy_ = 1012784524;
- const void *pv_[2];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_SetDiagInfo'
- */
-typedef void (*odbc_SQLSvc_SetDiagInfo_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_SetDiagInfo_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_long DiagnosticFlag
- , /* In */ IDL_string ClientPCName
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_SetDiagInfo'
- */
-static void
-odbc_SQLSvc_SetDiagInfo_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_SetDiagInfo_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_SetDiagInfo_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , *(IDL_long *) pv_[3]
- , *(IDL_string *) pv_[4]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_SetDiagInfo'
- */
-extern CEE_status
-odbc_SQLSvc_SetDiagInfo_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetDiagInfo_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 12 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_SetDiagInfo_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_SetDiagInfo'
- */
-extern CEE_status
-odbc_SQLSvc_SetDiagInfo_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetDiagInfo_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 12 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_SetDiagInfo_smw_);
-}
-
-/**************************************
- * Operation 'odbc_SQLSvc_StopServer' *
- **************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_StopServer'
- */
-#define odbc_SQLSvc_StopServer_ParamError_exn_ 1
-#define odbc_SQLSvc_StopServer_ProcessStopError_exn_ 2
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_StopServer'
- */
-struct odbc_SQLSvc_StopServer_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_ProcessStopError ProcessStopError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_StopServer'
- */
-#define odbc_SQLSvc_StopServer_ldx_ ((IDL_unsigned_long) 13)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_StopServer'
- */
-#define odbc_SQLSvc_StopServer_osy_ ((IDL_long) 1843288558)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_StopServer'
- */
-typedef void (*odbc_SQLSvc_StopServer_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_long StopType
- , /* In */ IDL_string ReasonText
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_StopServer'
- */
-static void
-odbc_SQLSvc_StopServer_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_StopServer_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , *(IDL_long *) pv_[2]
- , *(IDL_string *) pv_[3]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_StopServer'
- */
-extern CEE_status
-odbc_SQLSvc_StopServer_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_StopServer_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 13 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_StopServer_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_StopServer'
- */
-extern CEE_status
-odbc_SQLSvc_StopServer_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_StopServer_exc_ *exception_
- )
-{
- static IDL_long osy_ = 1843288558;
- const void *pv_[2];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_StopServer'
- */
-typedef void (*odbc_SQLSvc_StopServer_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_StopServer_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_long StopType
- , /* In */ IDL_string ReasonText
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_StopServer'
- */
-static void
-odbc_SQLSvc_StopServer_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_StopServer_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_StopServer_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , *(IDL_long *) pv_[3]
- , *(IDL_string *) pv_[4]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_StopServer'
- */
-extern CEE_status
-odbc_SQLSvc_StopServer_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_StopServer_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 13 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_StopServer_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_StopServer'
- */
-extern CEE_status
-odbc_SQLSvc_StopServer_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_StopServer_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 13 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_StopServer_smw_);
-}
-
-/****************************************
- * Operation 'odbc_SQLSvc_SetTestPoint' *
- ****************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-#define odbc_SQLSvc_SetTestPoint_ParamError_exn_ 1
-#define odbc_SQLSvc_SetTestPoint_InvalidConnection_exn_ 2
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-struct odbc_SQLSvc_SetTestPoint_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_SetTestPoint'
- */
-#define odbc_SQLSvc_SetTestPoint_ldx_ ((IDL_unsigned_long) 14)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_SetTestPoint'
- */
-#define odbc_SQLSvc_SetTestPoint_osy_ ((IDL_long) -1315988903)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-typedef void (*odbc_SQLSvc_SetTestPoint_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_short TestPoint
- , /* In */ IDL_unsigned_long Operation
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-static void
-odbc_SQLSvc_SetTestPoint_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_SetTestPoint_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , *(IDL_short *) pv_[2]
- , *(IDL_unsigned_long *) pv_[3]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-extern CEE_status
-odbc_SQLSvc_SetTestPoint_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetTestPoint_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 14 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_SetTestPoint_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-extern CEE_status
-odbc_SQLSvc_SetTestPoint_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_SetTestPoint_exc_ *exception_
- )
-{
- static IDL_long osy_ = -1315988903;
- const void *pv_[2];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_SetTestPoint'
- */
-typedef void (*odbc_SQLSvc_SetTestPoint_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_SetTestPoint_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_short TestPoint
- , /* In */ IDL_unsigned_long Operation
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-static void
-odbc_SQLSvc_SetTestPoint_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_SetTestPoint_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_SetTestPoint_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , *(IDL_short *) pv_[3]
- , *(IDL_unsigned_long *) pv_[4]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-extern CEE_status
-odbc_SQLSvc_SetTestPoint_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetTestPoint_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 14 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_SetTestPoint_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_SetTestPoint'
- */
-extern CEE_status
-odbc_SQLSvc_SetTestPoint_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_SetTestPoint_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 14 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_SetTestPoint_smw_);
-}
-
-/******************************************
- * Operation 'odbc_SQLSvc_ClearTestPoint' *
- ******************************************/
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-#define odbc_SQLSvc_ClearTestPoint_ParamError_exn_ 1
-#define odbc_SQLSvc_ClearTestPoint_InvalidConnection_exn_ 2
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-struct odbc_SQLSvc_ClearTestPoint_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_ClearTestPoint'
- */
-#define odbc_SQLSvc_ClearTestPoint_ldx_ ((IDL_unsigned_long) 15)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_ClearTestPoint'
- */
-#define odbc_SQLSvc_ClearTestPoint_osy_ ((IDL_long) -1810813871)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-typedef void (*odbc_SQLSvc_ClearTestPoint_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_short TestPoint
- , /* In */ IDL_unsigned_short Operation
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-static void
-odbc_SQLSvc_ClearTestPoint_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_ClearTestPoint_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , *(IDL_short *) pv_[2]
- , *(IDL_unsigned_short *) pv_[3]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-extern CEE_status
-odbc_SQLSvc_ClearTestPoint_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ClearTestPoint_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 15 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_ClearTestPoint_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-extern CEE_status
-odbc_SQLSvc_ClearTestPoint_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_ClearTestPoint_exc_ *exception_
- )
-{
- static IDL_long osy_ = -1810813871;
- const void *pv_[2];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_ClearTestPoint'
- */
-typedef void (*odbc_SQLSvc_ClearTestPoint_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_ClearTestPoint_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ IDL_short TestPoint
- , /* In */ IDL_unsigned_short Operation
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-static void
-odbc_SQLSvc_ClearTestPoint_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_ClearTestPoint_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_ClearTestPoint_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , *(IDL_short *) pv_[3]
- , *(IDL_unsigned_short *) pv_[4]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-extern CEE_status
-odbc_SQLSvc_ClearTestPoint_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ClearTestPoint_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 15 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_METHOD
- , odbc_SQLSvc_ClearTestPoint_smw_);
-}
-/*
- * Set Synchronous multithreaded method for
- * operation 'odbc_SQLSvc_ClearTestPoint'
- */
-extern CEE_status
-odbc_SQLSvc_ClearTestPoint_msms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_ClearTestPoint_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 15 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_SYNCH_MULTITHREADED_METHOD
- , odbc_SQLSvc_ClearTestPoint_smw_);
-}
-
-/******************************************
- * Operation 'odbc_SQLSvc_GetSQLCatalogs' *
- ******************************************/
-typedef IDL_char odbc_SQLSvc_GetSQLCatalogs_tableTypeList_str_[129];
-
-/*
- * Exception number constants for
- * operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-#define odbc_SQLSvc_GetSQLCatalogs_ParamError_exn_ 1
-#define odbc_SQLSvc_GetSQLCatalogs_InvalidConnection_exn_ 2
-#define odbc_SQLSvc_GetSQLCatalogs_SQLError_exn_ 3
-#define odbc_SQLSvc_GetSQLCatalogs_SQLInvalidHandle_exn_ 4
-/*
- * Exception union for
- * operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-struct odbc_SQLSvc_GetSQLCatalogs_exc_ {
- IDL_long exception_nr;
- IDL_long exception_detail;
- union {
- struct odbc_SQLSvc_ParamError ParamError;
- struct odbc_SQLSvc_SQLError SQLError;
- } u;
-};
-/*
- * Local index for operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-#define odbc_SQLSvc_GetSQLCatalogs_ldx_ ((IDL_unsigned_long) 16)
-/*
- * Operation synopsis for operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-#define odbc_SQLSvc_GetSQLCatalogs_osy_ ((IDL_long) -1542386367)
-/*
- * Asynchronous method function pointer type for
- * operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-typedef void (*odbc_SQLSvc_GetSQLCatalogs_amt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_short APIType
- , /* In */ const IDL_char *catalogNm
- , /* In */ const IDL_char *schemaNm
- , /* In */ const IDL_char *tableNm
- , /* In */ const IDL_char *tableTypeList
- , /* In */ const IDL_char *columnNm
- , /* In */ IDL_long columnType
- , /* In */ IDL_long rowIdScope
- , /* In */ IDL_long nullable
- , /* In */ IDL_long uniqueness
- , /* In */ IDL_long accuracy
- , /* In */ IDL_short sqlType
- , /* In */ IDL_unsigned_long metadataId
- , /* In */ const IDL_char *fkcatalogNm
- , /* In */ const IDL_char *fkschemaNm
- , /* In */ const IDL_char *fktableNm
- );
-/*
- *Asynchronous method wrapper for
- * operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-static void
-odbc_SQLSvc_GetSQLCatalogs_amw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_GetSQLCatalogs_amt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , *(DIALOGUE_ID_def *) pv_[1]
- , (IDL_char *) pv_[2]
- , *(IDL_short *) pv_[3]
- , (IDL_char *) pv_[4]
- , (IDL_char *) pv_[5]
- , (IDL_char *) pv_[6]
- , (IDL_char *) pv_[7]
- , (IDL_char *) pv_[8]
- , *(IDL_long *) pv_[9]
- , *(IDL_long *) pv_[10]
- , *(IDL_long *) pv_[11]
- , *(IDL_long *) pv_[12]
- , *(IDL_long *) pv_[13]
- , *(IDL_short *) pv_[14]
- , *(IDL_unsigned_long *) pv_[15]
- , (IDL_char *) pv_[16]
- , (IDL_char *) pv_[17]
- , (IDL_char *) pv_[18]
- );
-}
-/*
- * Set Asynchronous Method for
- * operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-extern CEE_status
-odbc_SQLSvc_GetSQLCatalogs_ams_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_GetSQLCatalogs_amt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 16 /* Method index */
- , *((CEE_tag_def *) &method_)
- , CEE_ASYNCH_METHOD
- , odbc_SQLSvc_GetSQLCatalogs_amw_);
-}
-/*
- * Asynchronous response for
- * operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-extern CEE_status
-odbc_SQLSvc_GetSQLCatalogs_res_(
- /* In */ const CEE_handle_def *call_id_
- , /* In */ const struct odbc_SQLSvc_GetSQLCatalogs_exc_ *exception_
- , /* In */ const IDL_char *catStmtLabel
- , /* In */ const SQLItemDescList_def *outputDesc
- , /* In */ const ERROR_DESC_LIST_def *sqlWarning
- )
-{
- static IDL_long osy_ = -1542386367;
- const void *pv_[5];
- pv_[0] = &osy_;
- pv_[1] = (void *) exception_;
- pv_[2] = (void *) catStmtLabel;
- pv_[3] = (void *) outputDesc;
- pv_[4] = (void *) sqlWarning;
- return CEE_RESPOND(
- call_id_
- , pv_);
-}
-/*
- * Synchronous method function pointer type for
- * operation'odbc_SQLSvc_GetSQLCatalogs'
- */
-typedef void (*odbc_SQLSvc_GetSQLCatalogs_smt_) (
- /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* Out */ struct odbc_SQLSvc_GetSQLCatalogs_exc_ *exception_
- , /* In */ DIALOGUE_ID_def dialogueId
- , /* In */ const IDL_char *stmtLabel
- , /* In */ IDL_short APIType
- , /* In */ const IDL_char *catalogNm
- , /* In */ const IDL_char *schemaNm
- , /* In */ const IDL_char *tableNm
- , /* In */ const IDL_char *tableTypeList
- , /* In */ const IDL_char *columnNm
- , /* In */ IDL_long columnType
- , /* In */ IDL_long rowIdScope
- , /* In */ IDL_long nullable
- , /* In */ IDL_long uniqueness
- , /* In */ IDL_long accuracy
- , /* In */ IDL_short sqlType
- , /* In */ IDL_unsigned_long metadataId
- , /* In */ const IDL_char *fkcatalogNm
- , /* In */ const IDL_char *fkschemaNm
- , /* In */ const IDL_char *fktableNm
- , /* Out */ IDL_char *catStmtLabel
- , /* Out */ SQLItemDescList_def *outputDesc
- , /* Out */ ERROR_DESC_LIST_def *sqlWarning
- );
-/*
- * Synchronous method wrapper for
- * operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-static void
-odbc_SQLSvc_GetSQLCatalogs_smw_(
- /* In */ CEE_tag_def mettag_
- , /* In */ CEE_tag_def objtag_
- , /* In */ const CEE_handle_def *call_id_
- , /* In */ void *const *pv_)
-{
- odbc_SQLSvc_GetSQLCatalogs_smt_ f_;
- *((CEE_tag_def *) &f_) = mettag_;
- (*f_) (
- objtag_
- , call_id_
- , (struct odbc_SQLSvc_GetSQLCatalogs_exc_ *) pv_[1]
- , *(DIALOGUE_ID_def *) pv_[2]
- , (IDL_char *) pv_[3]
- , *(IDL_short *) pv_[4]
- , (IDL_char *) pv_[5]
- , (IDL_char *) pv_[6]
- , (IDL_char *) pv_[7]
- , (IDL_char *) pv_[8]
- , (IDL_char *) pv_[9]
- , *(IDL_long *) pv_[10]
- , *(IDL_long *) pv_[11]
- , *(IDL_long *) pv_[12]
- , *(IDL_long *) pv_[13]
- , *(IDL_long *) pv_[14]
- , *(IDL_short *) pv_[15]
- , *(IDL_unsigned_long *) pv_[16]
- , (IDL_char *) pv_[17]
- , (IDL_char *) pv_[18]
- , (IDL_char *) pv_[19]
- , (IDL_char *) pv_[20]
- , (SQLItemDescList_def *) pv_[21]
- , (ERROR_DESC_LIST_def *) pv_[22]
- );
-}
-/*
- * Set Synchronous method for
- * operation 'odbc_SQLSvc_GetSQLCatalogs'
- */
-extern CEE_status
-odbc_SQLSvc_GetSQLCatalogs_sms_(
- /* In */ const CEE_handle_def *impl_
- , /* In */ odbc_SQLSvc_GetSQLCatalogs_smt_ method_
- )
-{
- return CEE_SET_METHOD(
- impl_
- , 16 /* Method index */
- , *((CEE_tag_def *)
<TRUNCATED>