SequoiaDB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
clientDef.h
Go to the documentation of this file.
1 /*******************************************************************************
2 
3  Copyright (C) 2011-2018 SequoiaDB Ltd.
4 
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  *******************************************************************************/
17 
18 
23 #ifndef CLIENT_DEFINITION_H__
24 #define CLIENT_DEFINITION_H__
25 
26 #include "ossTypes.h"
27 
28 // define value for snapshot
29 #define SDB_SNAP_CONTEXTS 0
30 #define SDB_SNAP_CONTEXTS_CURRENT 1
31 #define SDB_SNAP_SESSIONS 2
32 #define SDB_SNAP_SESSIONS_CURRENT 3
33 #define SDB_SNAP_COLLECTIONS 4
34 #define SDB_SNAP_COLLECTIONSPACES 5
35 #define SDB_SNAP_DATABASE 6
36 #define SDB_SNAP_SYSTEM 7
37 #define SDB_SNAP_CATALOG 8
38 #define SDB_SNAP_TRANSACTIONS 9
39 #define SDB_SNAP_TRANSACTIONS_CURRENT 10
40 
41 // define value for list
42 #define SDB_LIST_CONTEXTS 0
43 #define SDB_LIST_CONTEXTS_CURRENT 1
44 #define SDB_LIST_SESSIONS 2
45 #define SDB_LIST_SESSIONS_CURRENT 3
46 #define SDB_LIST_COLLECTIONS 4
47 #define SDB_LIST_COLLECTIONSPACES 5
48 #define SDB_LIST_STORAGEUNITS 6
49 #define SDB_LIST_GROUPS 7
50 #define SDB_LIST_STOREPROCEDURES 8
51 #define SDB_LIST_DOMAINS 9
52 #define SDB_LIST_TASKS 10
53 #define SDB_LIST_TRANSACTIONS 11
54 #define SDB_LIST_TRANSACTIONS_CURRENT 12
55 
56 #define SDB_LIST_USERS 16
57 
58 #define SDB_LIST_CL_IN_DOMAIN 129
59 #define SDB_LIST_CS_IN_DOMAIN 130
60 
61 
62 
63 typedef BOOLEAN (*socketInterruptFunc)(void) ;
64 
65 typedef struct _sdbClientConf
66 {
67  // used for cache strategy
70 } sdbClientConf ;
71 
72 #endif