blob: af3e6aeb12cac381007e2225f04833cb7f1e21bf [file] [log] [blame]
// @@@ START COPYRIGHT @@@
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//
// @@@ END COPYRIGHT @@@
#ifndef MARSHALING_SRVR_H
#define MARSHALING_SRVR_H
CEE_status
odbc_SQLSvc_InitializeDialogue_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_InitializeDialogue_exc_ *exception_
, /* In */ const OUT_CONNECTION_CONTEXT_def *outContext
);
CEE_status
odbc_SQLSvc_TerminateDialogue_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const odbc_SQLSvc_TerminateDialogue_exc_ *exception_
);
CEE_status
odbc_SQLSvc_SetConnectionOption_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const odbc_SQLSvc_SetConnectionOption_exc_ *exception_
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_Prepare_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* 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
);
CEE_status
odbc_SQLSvc_ExecDirect_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* 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
);
CEE_status
odbc_SQLSvc_PrepareRowset_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_PrepareRowset_exc_ *exception_
, /* In */ IDL_long estimatedCost
, /* In */ const SQLItemDescList_def *inputDesc
, /* In */ const SQLItemDescList_def *outputDesc
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_ExecuteRowset_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_ExecuteRowset_exc_ *exception_
, /* In */ IDL_long rowsAffected
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_ExecDirectRowset_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_ExecDirectRowset_exc_ *exception_
, /* In */ IDL_long estimatedCost
, /* In */ const SQLItemDescList_def *outputDesc
, /* In */ IDL_long rowsAffected
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_FetchPerf_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_FetchPerf_exc_ *exception_
, /* In */ IDL_long rowsAffected
, /* In */ const SQL_DataValue_def *outputDataValue
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_FetchRowset_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_FetchRowset_exc_ *exception_
, /* In */ IDL_long rowsAffected
, /* In */ const SQL_DataValue_def *outputDataValue
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_ExecuteN_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_ExecuteN_exc_ *exception_
, /* In */ IDL_long rowsAffected
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_Prepare2_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ IDL_long returnCode
, /* In */ IDL_long sqlWarningOrErrorLength
, /* In */ BYTE *sqlWarningOrError
, /* In */ IDL_long sqlQueryType
, /* In */ IDL_long stmtHandle
, /* In */ IDL_long estimatedCost
, /* In */ IDL_long inputDescLength
, /* In */ BYTE *inputDesc
, /* In */ IDL_long outputDescLength
, /* In */ BYTE *outputDesc
);
CEE_status
odbc_SQLSvc_Execute2_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ IDL_long returnCode
, /* In */ IDL_long sqlWarningOrErrorLength
, /* In */ BYTE *sqlWarningOrError
, /* In */ IDL_long rowsAffected
, /* In */ IDL_long outValuesLength
, /* In */ BYTE *outValues
, /* In */ IDL_long numResultSets
, /* In */ Long stmtHandle
);
CEE_status
odbc_SQLSvc_Close_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_Close_exc_ *exception_
, /* In */ IDL_long rowsAffected
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSrvr_Close_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ IDL_long returnCode
, /* In */ IDL_long sqlWarningOrErrorLength
, /* In */ BYTE *sqlWarningOrError
, /* In */ IDL_long rowsAffected
);
CEE_status
odbc_SQLSvc_EndTransaction_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_EndTransaction_exc_ *exception_
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_GetSQLCatalogs_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* 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
);
CEE_status
odbc_SQLSvc_ExecuteCall_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_ExecuteCall_exc_ *exception_
, /* In */ const SQLValueList_def *outputValueList
, /* In */ IDL_long rowsAffected
, /* In */ const ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSvc_StopServer_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_StopServer_exc_ *exception_
);
CEE_status
odbc_SQLSvc_EnableServerTrace_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_EnableServerTrace_exc_ *exception_
);
CEE_status
odbc_SQLSvc_DisableServerTrace_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_DisableServerTrace_exc_ *exception_
);
CEE_status
odbc_SQLSvc_EnableServerStatistics_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_EnableServerStatistics_exc_ *exception_
);
CEE_status
odbc_SQLSvc_DisableServerStatistics_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_DisableServerStatistics_exc_ *exception_
);
CEE_status
odbc_SQLSvc_UpdateServerContext_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_UpdateServerContext_exc_ *exception_
);
CEE_status
odbc_SQLSvc_MonitorCall_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ const struct odbc_SQLSvc_MonitorCall_exc_ *exception_
);
CEE_status
odbc_SQLSvc_Fetch2_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ IDL_long returnCode
, /* In */ IDL_long sqlWarningOrErrorLength
, /* In */ BYTE *sqlWarningOrError
, /* In */ IDL_long rowsAffected
, /* In */ IDL_long outValuesFormat
, /* In */ IDL_long outValuesLength
, /* In */ BYTE *outValues
);
CEE_status
odbc_SQLSrvr_Prepare_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ IDL_long returnCode
, /* In */ IDL_long sqlWarningOrErrorLength
, /* In */ BYTE *sqlWarningOrError
, /* In */ IDL_long sqlQueryType
, /* In */ IDL_long stmtHandleKey
, /* In */ IDL_long estimatedCost
, /* In */ IDL_long inputDescLength
, /* In */ BYTE *inputDesc
, /* In */ IDL_long outputDescLength
, /* In */ BYTE *outputDesc
);
CEE_status
odbc_SQLSrvr_Fetch_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ IDL_long returnCode
, /* In */ IDL_long sqlWarningOrErrorLength
, /* In */ BYTE *sqlWarningOrError
, /* In */ IDL_long rowsAffected
, /* In */ IDL_long outValuesFormat
, /* In */ IDL_long outValuesLength
, /* In */ BYTE *outValues
);
CEE_status
odbc_SQLSrvr_Execute_param_res_(
CInterface* pnode
, IDL_char*& buffer
, IDL_unsigned_long& message_length
, /* In */ IDL_long returnCode
, /* In */ IDL_long sqlWarningOrErrorLength
, /* In */ BYTE *sqlWarningOrError
, /* In */ IDL_long rowsAffected
, /* In */ IDL_long sqlQueryType // Used by ExecDirect for unique selects
, /* In */ IDL_long estimatedCost
, /* In */ IDL_long outValuesLength
, /* In */ BYTE *outValues
, /* In */ IDL_long outputDescLength // Used to return the output descriptors for ExecDirect
, /* In */ BYTE *outputDesc // Used to return the output descriptors for ExecDirect
, /* In */ Long stmtHandle // Statement handle - needed to copy out SPJ result sets
, /* In */ IDL_long stmtHandleKey
);
CEE_status
odbc_SQLSrvr_SetConnectionOption_param_res_(
CInterface* pnode
, IDL_char*& buffer
, IDL_unsigned_long& message_length
, /* In */ const struct odbc_SQLSvc_SetConnectionOption_exc_ *exception_
, /* In */ ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
odbc_SQLSrvr_GetSQLCatalogs_param_res_(
CInterface* pnode
, IDL_char*& buffer
, IDL_unsigned_long& message_length
, /* In */ const struct odbc_SQLSvc_GetSQLCatalogs_exc_ *exception_
, /* In */ const IDL_char *catStmtLabel
, /* In */ SQLItemDescList_def *outputDesc
, /* In */ ERROR_DESC_LIST_def *sqlWarning
, /* In */ SRVR_STMT_HDL *pSrvrStmt
);
CEE_status
odbc_SQLSrvr_EndTransaction_param_res_(
CInterface* pnode
, IDL_char*& buffer
, IDL_unsigned_long& message_length
, /* In */ const struct odbc_SQLSvc_EndTransaction_exc_ *exception_
, /* In */ ERROR_DESC_LIST_def *sqlWarning
);
CEE_status
MxoSrvr_ValidateToken_param_res_(
CInterface* pnode
, char*& buffer
, UInt32& message_length
, /* In */ int outTokenLen
, /* In */ unsigned char* outToken
);
CEE_status
odbc_SQLsrvr_ExtractLob_param_res_(
CInterface* pnode
, char *&buffer
, UInt32 & message_length
, const struct odbc_SQLsrvr_ExtractLob_exc_ *exception_
, IDL_short extractLobAPI
, IDL_long_long lobLength
, IDL_long_long extractLen
, BYTE * extractData
);
CEE_status
odbc_SQLsrvr_UpdateLob_param_res_(
CInterface * pnode
, char* &buffer
, UInt32& message_length
, const struct odbc_SQLSvc_UpdateLob_exc_ *exception_
);
#endif