CUBRID Engine  latest
db_set.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 // db_set structure
21 //
22 
23 #ifndef _DB_SET_H_
24 #define _DB_SET_H_
25 
26 #include "dbtype_def.h"
27 
28 #include <stdio.h>
29 
30 #ifdef __cplusplus
31 extern "C"
32 {
33 #endif // __cplusplus
34 
35  struct db_set
36  {
37  /*
38  * a garbage collector ticket is not required for the "owner" field as
39  * the entire set references area is registered for scanning in area_grow.
40  */
41  struct db_object *owner;
42  struct db_set *ref_link;
43  struct setobj *set;
44  char *disk_set;
46  int attribute;
47  int ref_count;
48  int disk_size;
50  };
51 
52 #ifdef __cplusplus
53 } // extern "C"
54 #endif // __cplusplus
55 
56 #endif // !_DB_SET_H_
DB_DOMAIN * disk_domain
Definition: db_set.h:45
int disk_size
Definition: db_set.h:48
struct db_object * owner
Definition: db_set.h:41
int ref_count
Definition: db_set.h:47
Definition: db_set.h:35
need_clear_type need_clear
Definition: db_set.h:49
struct db_set * ref_link
Definition: db_set.h:42
char need_clear_type
Definition: dbtype_def.h:41
int attribute
Definition: db_set.h:46
char * disk_set
Definition: db_set.h:44