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:20 UTC
[13/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/odbccfg.idl
----------------------------------------------------------------------
diff --git a/core/conn/unixodbc/odbc/Krypton/odbccfg.idl b/core/conn/unixodbc/odbc/Krypton/odbccfg.idl
deleted file mode 100644
index bbd7667..0000000
--- a/core/conn/unixodbc/odbc/Krypton/odbccfg.idl
+++ /dev/null
@@ -1,203 +0,0 @@
-/*************************************************************************
-*
-// @@@ 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 @@@
-**************************************************************************/
-//
-// MODULE: ODBCCfg.IDL
-// PURPOSE: Describes the Tandem Metadata RPC Services
-//#include "odbcCommon.idl"
-
-#ifndef ODBCCfg_defined
-#define ODBCCfg_defined
-
-#include "odbcCommon.idl"
-#include "odbcsrvrcommon.idl"
-
-module odbccfg {
-
-#define odbccfg_uuid ((UUID_def) " "
-
-interface CfgSvc {
- exception ParamError {string ParamDesc;};
- exception CriticalError {string ErrorDesc;};
- exception SQLError {ERROR_DESC_LIST_def errorList;};
- exception SQLNoDataFound {};
- exception CFGDataError {};
- exception DatabaseFound {};
- exception SQLInvalidHandle {};
- exception DatabaseNotFound {};
- exception WrongUserPassword {};
- exception ServerError{};
-
- void GetObjectNameList (
- in long ObjectType,
- out DATASOURCE_LIST_def ObjectNameList,
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void GetDataSource (
- in SQL_IDENTIFIER_def KeyValue,
- out DATASOURCE_DESC_def DSValues,
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void DropDataSource (
- in SQL_IDENTIFIER_def KeyValue,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound, CFGDataError);
-
- void SetDataSource (
- in DATASOURCE_DESC_def DSValues,
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void AddNewDataSource (
- in DATASOURCE_DESC_def DSValues,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void CheckDataSourceName (
- in SQL_IDENTIFIER_def KeyValue,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void GetDSNControl (
- in SQL_IDENTIFIER_def KeyValue,
- out long automation,
- out long curStatus,
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void SetDSNControl (
- in SQL_IDENTIFIER_def KeyValue,
- // this needs to change to the typedef DSN_AUTOMATION
- in long automation,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void GetResourceValues (
- in CfgSvc_REQ_def KeyType,
- in SQL_IDENTIFIER_def KeyValue,
- out RES_DESC_LIST_def ResValueList,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void SetResourceValues (
- in CfgSvc_REQ_def KeyType,
- in SQL_IDENTIFIER_def KeyValue,
- in RES_DESC_LIST_def ResValueList,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void GetEnvironmentValues ( // added to set and get environment values
- in CfgSvc_REQ_def KeyType,
- in SQL_IDENTIFIER_def KeyValue,
- out ENV_DESC_LIST_def EnvValueList,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void SetEnvironmentValues (
- in CfgSvc_REQ_def KeyType,
- in SQL_IDENTIFIER_def KeyValue,
- in ENV_DESC_LIST_def EnvValueList,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
-// Following Methods are used by ASSrvr
- void GetStartupConfigValues (
- out short serviceStatus,
- out long serviceStatusChangeTime,
- out DATASOURCE_CFG_LIST_def DSList,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void GetDataSourceValues (
- in SQL_IDENTIFIER_def DSName,
- out DATASOURCE_CFG_def DSValues,
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void SetDSStatus (
- in SQL_IDENTIFIER_def DSNm,
- in short status,
- in TIMESTAMP_STR_def statusChangedTime,
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLNoDataFound);
-
- void SetASStatus (
- in short status,
- in TIMESTAMP_STR_def statusChangedTime,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLNoDataFound);
-
-// Following methids are used by InitSv
- void CreateConfigurationDatabase (
- in long DatabaseVersion,
- in string sqlVolumeLocationNm,
- out ERROR_DESC_LIST_def sqlWarning)
- raises (ParamError, SQLError, SQLInvalidHandle, DatabaseFound);
-
- void CreateDatatypeTable (
- in long DatatypeTableVersion,
- in string sqlVolumeLocationNm,
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLInvalidHandle, DatabaseFound);
-
- void DropConfigurationDatabase (
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLInvalidHandle, DatabaseNotFound);
-
- void DropDatatypeTable (
- out ERROR_DESC_LIST_def sqlWarning )
- raises (ParamError, SQLError, SQLInvalidHandle, DatabaseNotFound);
-
- void UserAuthenticate(
- in USER_NAME_def UserName,
- in USER_PASSWORD_def Password,
- out short retCode,
- out short status,
- out short authenticated,
- out short authorized)
- raises (WrongUserPassword, ServerError);
-
- void ChangePassword(
- in USER_NAME_def UserName,
- in USER_PASSWORD_def oldPassword,
- in USER_PASSWORD_def newPassword,
- out short retCode,
- out short status)
- raises (WrongUserPassword, ServerError);
-
-//
-// General Parameter Interface
-//
- void GeneralParam(
- in GEN_ParamList_def paramList)
- raises (ParamError);
-
- }; // end of CfgSvc
-
-}; // end of ODBCCfg Module
-
-#endif
-
-