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 
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 
85 #define SDB_SNAP_RESERVED4 28
86 
88 #define SDB_LIST_CONTEXTS 0
89 
90 #define SDB_LIST_CONTEXTS_CURRENT 1
91 
92 #define SDB_LIST_SESSIONS 2
93 
94 #define SDB_LIST_SESSIONS_CURRENT 3
95 
96 #define SDB_LIST_COLLECTIONS 4
97 
98 #define SDB_LIST_COLLECTIONSPACES 5
99 
100 #define SDB_LIST_STORAGEUNITS 6
101 
102 #define SDB_LIST_GROUPS 7
103 
104 #define SDB_LIST_STOREPROCEDURES 8
105 
106 #define SDB_LIST_DOMAINS 9
107 
108 #define SDB_LIST_TASKS 10
109 
110 #define SDB_LIST_TRANSACTIONS 11
111 
112 #define SDB_LIST_TRANSACTIONS_CURRENT 12
113 
114 #define SDB_LIST_SVCTASKS 14
115 
116 #define SDB_LIST_SEQUENCES 15
117 
118 #define SDB_LIST_USERS 16
119 
120 #define SDB_LIST_BACKUPS 17
121 
122 #define SDB_LIST_RESERVED1 18
123 #define SDB_LIST_RESERVED2 19
124 #define SDB_LIST_RESERVED3 20
125 #define SDB_LIST_RESERVED4 21
126 
127 #define SDB_LIST_DATASOURCES 22
128 
129 #define SDB_LIST_RESERVED5 23
130 
131 #define SDB_LIST_RESERVED6 24
132 
133 #define SDB_LIST_RESERVED7 25
134 
135 #define SDB_LIST_RESERVED8 26
136 
137 #define SDB_LIST_RECYCLEBIN 27
138 
139 #define SDB_LIST_GROUPMODES 28
140 
141 // reserved
142 #define SDB_LIST_CL_IN_DOMAIN 129
143 // reserved
144 #define SDB_LIST_CS_IN_DOMAIN 130
145 
146 
148 typedef BOOLEAN (*socketInterruptFunc)(void) ;
149 
151 typedef struct _sdbClientConf
152 {
156  UINT32 networkTimeout ;
157 } sdbClientConf ;
158 
159 
160 #endif // CLIENT_DEFINITION_H__