00001 /* 00002 EyeDB Object Database Management System 00003 Copyright (C) 1994-2008 SYSRA 00004 00005 EyeDB is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation; either 00008 version 2.1 of the License, or (at your option) any later version. 00009 00010 EyeDB is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with this library; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00018 */ 00019 00020 /* 00021 Author: Eric Viara <viara@sysra.com> 00022 */ 00023 00024 00025 #ifndef _eyedb_idbrpc_ 00026 #define _eyedb_idbrpc_ 00027 00028 #include <eyedblib/rpc_lib.h> 00029 #include "basetypes.h" 00030 00031 typedef enum { 00032 RPC_CONNSHM, 00033 00034 /* 00035 RPC_DBOPENLOCAL, 00036 RPC_DBOPEN, 00037 RPC_DBCLOSE, 00038 RPC_DBSETUID, 00039 RPC_GUESTUIDGET, 00040 RPC_OBJECTCREATE, 00041 RPC_OBJECTREAD, 00042 RPC_OBJECTWRITE, 00043 RPC_OBJECTDELETE, 00044 RPC_OBJECTSIZEGET, 00045 RPC_OBJECTSIZEMODIFY, 00046 RPC_TRANSACTIONBEGIN, 00047 RPC_TRANSACTIONCOMMIT, 00048 RPC_FIRSTOIDGET, 00049 RPC_NEXTOIDGET, 00050 */ 00051 00052 RPC_LASTCODE 00053 } U_rpc_RpcCode; 00054 00055 typedef enum { 00056 rpc_IntType, 00057 rpc_pIntType, 00058 rpc_pChType, 00059 rpc_pDbhType, 00060 rpc_ppDbhType, 00061 rpc_StringType, 00062 rpc_DataType, 00063 rpc_pLocalDBContextType, 00064 00065 /* specific idb */ 00066 U_rpc_pBoolType, 00067 U_rpc_pOidType 00068 } U_rpc_ArgType; 00069 00070 extern const void *rpc_ObjectNone; 00071 00072 extern void 00073 U_rpc_init(), 00074 U_rpc_rpcInit(); 00075 00076 #endif 00077