CUBRID Engine  latest
server_interface.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
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 
19 
20 /*
21  * server_interface.h - Server interface functions
22  *
23  * Note: This file defines the interface to the server. The client modules that
24  * calls any function in the server should include this module instead of the
25  * header file of the desired function.
26  */
27 
28 #ifndef _SERVER_INTERFACE_H_
29 #define _SERVER_INTERFACE_H_
30 
31 #ident "$Id$"
32 
33 enum
34 {
37  /* next is 0x04 */
38 };
39 
40 enum
41 {
51 };
52 
53 #define CHECKDB_ALL_CHECK_EXCEPT_PREV_LINK \
54  (CHECKDB_FILE_TRACKER_CHECK | CHECKDB_HEAP_CHECK_ALLHEAPS | \
55  CHECKDB_CT_CHECK_CAT_CONSISTENCY | CHECKDB_BTREE_CHECK_ALL_BTREES | \
56  CHECKDB_LC_CHECK_CLASSNAMES | CHECKDB_LC_CHECK_ALLENTRIES_OF_ALLBTREES)
57 
58 #define COMPACTDB_LOCKED_CLASS -1
59 #define COMPACTDB_INVALID_CLASS -2
60 #define COMPACTDB_UNPROCESSED_CLASS -3
61 
62 #define COMPACTDB_REPR_DELETED -2
63 
64 enum
66 
67 #endif /* _SERVER_INTERFACE_H_ */