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 
77 #define SDB_SNAP_TRANSWAITS 25
78 
79 #define SDB_SNAP_TRANSDEADLOCK 26
80 
81 
83 #define SDB_LIST_CONTEXTS 0
84 
85 #define SDB_LIST_CONTEXTS_CURRENT 1
86 
87 #define SDB_LIST_SESSIONS 2
88 
89 #define SDB_LIST_SESSIONS_CURRENT 3
90 
91 #define SDB_LIST_COLLECTIONS 4
92 
93 #define SDB_LIST_COLLECTIONSPACES 5
94 
95 #define SDB_LIST_STORAGEUNITS 6
96 
97 #define SDB_LIST_GROUPS 7
98 
99 #define SDB_LIST_STOREPROCEDURES 8
100 
101 #define SDB_LIST_DOMAINS 9
102 
103 #define SDB_LIST_TASKS 10
104 
105 #define SDB_LIST_TRANSACTIONS 11
106 
107 #define SDB_LIST_TRANSACTIONS_CURRENT 12
108 
109 #define SDB_LIST_SVCTASKS 14
110 
111 #define SDB_LIST_SEQUENCES 15
112 
113 #define SDB_LIST_USERS 16
114 
115 #define SDB_LIST_BACKUPS 17
116 
117 #define SDB_LIST_RESERVED1 18
118 #define SDB_LIST_RESERVED2 19
119 #define SDB_LIST_RESERVED3 20
120 #define SDB_LIST_RESERVED4 21
121 
122 #define SDB_LIST_DATASOURCES 22
123 
125 #define SDB_LIST_RESERVED5 25
126 #define SDB_LIST_RESERVED6 26
127 
128 // reserved
129 #define SDB_LIST_CL_IN_DOMAIN 129
130 // reserved
131 #define SDB_LIST_CS_IN_DOMAIN 130
132 
133 
135 typedef BOOLEAN (*socketInterruptFunc)(void) ;
136 
138 typedef struct _sdbClientConf
139 {
143  UINT32 networkTimeout ;
144 } sdbClientConf ;
145 
146 
147 #endif // CLIENT_DEFINITION_H__