SequoiaDB
 All Classes 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 
29 #define SDB_SNAP_CONTEXTS 0
30 
31 #define SDB_SNAP_CONTEXTS_CURRENT 1
32 
33 #define SDB_SNAP_SESSIONS 2
34 
35 #define SDB_SNAP_SESSIONS_CURRENT 3
36 
37 #define SDB_SNAP_COLLECTIONS 4
38 
39 #define SDB_SNAP_COLLECTIONSPACES 5
40 
41 #define SDB_SNAP_DATABASE 6
42 
43 #define SDB_SNAP_SYSTEM 7
44 
45 #define SDB_SNAP_CATALOG 8
46 
47 #define SDB_SNAP_TRANSACTIONS 9
48 
49 #define SDB_SNAP_TRANSACTIONS_CURRENT 10
50 
51 #define SDB_SNAP_ACCESSPLANS 11
52 
53 #define SDB_SNAP_HEALTH 12
54 
55 #define SDB_SNAP_CONFIGS 13
56 
57 #define SDB_SNAP_SVCTASKS 14
58 
59 #define SDB_SNAP_SEQUENCES 15
60 
61 #define SDB_SNAP_RESERVED1 16
62 
63 #define SDB_SNAP_RESERVED2 17
64 
65 #define SDB_SNAP_QUERIES 18
66 
67 #define SDB_SNAP_LATCHWAITS 19
68 
69 #define SDB_SNAP_LOCKWAITS 20
70 
71 #define SDB_SNAP_INDEXSTATS 21
72 
73 #define SDB_SNAP_RESERVED3 22
74 
75 #define SDB_SNAP_TASKS 23
76 
77 #define SDB_SNAP_INDEXES 24
78 
79 #define SDB_SNAP_TRANSWAITS 25
80 
81 #define SDB_SNAP_TRANSDEADLOCK 26
82 
83 #define SDB_SNAP_RECYCLEBIN 27
84 
86 #define SDB_LIST_CONTEXTS 0
87 
88 #define SDB_LIST_CONTEXTS_CURRENT 1
89 
90 #define SDB_LIST_SESSIONS 2
91 
92 #define SDB_LIST_SESSIONS_CURRENT 3
93 
94 #define SDB_LIST_COLLECTIONS 4
95 
96 #define SDB_LIST_COLLECTIONSPACES 5
97 
98 #define SDB_LIST_STORAGEUNITS 6
99 
100 #define SDB_LIST_GROUPS 7
101 
102 #define SDB_LIST_STOREPROCEDURES 8
103 
104 #define SDB_LIST_DOMAINS 9
105 
106 #define SDB_LIST_TASKS 10
107 
108 #define SDB_LIST_TRANSACTIONS 11
109 
110 #define SDB_LIST_TRANSACTIONS_CURRENT 12
111 
112 #define SDB_LIST_SVCTASKS 14
113 
114 #define SDB_LIST_SEQUENCES 15
115 
116 #define SDB_LIST_USERS 16
117 
118 #define SDB_LIST_BACKUPS 17
119 
120 #define SDB_LIST_RESERVED1 18
121 #define SDB_LIST_RESERVED2 19
122 #define SDB_LIST_RESERVED3 20
123 #define SDB_LIST_RESERVED4 21
124 
125 #define SDB_LIST_DATASOURCES 22
126 
127 #define SDB_LIST_RESERVED5 23
128 
129 #define SDB_LIST_RESERVED6 24
130 
131 #define SDB_LIST_RESERVED7 25
132 
133 #define SDB_LIST_RESERVED8 26
134 
135 #define SDB_LIST_RECYCLEBIN 27
136 
137 // reserved
138 #define SDB_LIST_CL_IN_DOMAIN 129
139 // reserved
140 #define SDB_LIST_CS_IN_DOMAIN 130
141 
142 
144 typedef BOOLEAN (*socketInterruptFunc)(void) ;
145 
147 typedef struct _sdbClientConf
148 {
152  UINT32 networkTimeout ;
153 } sdbClientConf ;
154 
155 
156 #endif // CLIENT_DEFINITION_H__