CUBRID Engine  latest
db_elo.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_elo.h -
21  */
22 
23 #ifndef _DB_ELO_H_
24 #define _DB_ELO_H_
25 
26 #ident "$Id$"
27 
28 #include <sys/types.h>
29 
30 #include "dbtype_def.h"
31 
32 extern int db_create_fbo (DB_VALUE * value, DB_TYPE type);
33 /* */
34 extern int db_elo_copy_structure (const DB_ELO * src, DB_ELO * dest);
35 extern void db_elo_free_structure (DB_ELO * elo);
36 
37 extern int db_elo_copy (DB_ELO * src, DB_ELO * dest);
38 extern int db_elo_delete (DB_ELO * elo);
39 
40 extern DB_BIGINT db_elo_size (DB_ELO * elo);
41 extern int db_elo_read (const DB_ELO * elo, off_t pos, void *buf, size_t count, DB_BIGINT * read_bytes);
42 extern int db_elo_write (DB_ELO * elo, off_t pos, const void *buf, size_t count, DB_BIGINT * written_bytes);
43 
44 #endif /* _DB_ELO_H_ */
DB_TYPE
Definition: dbtype_def.h:670
int db_create_fbo(DB_VALUE *value, DB_TYPE type)
Definition: db_elo.c:47
int db_elo_write(DB_ELO *elo, off_t pos, const void *buf, size_t count, DB_BIGINT *written_bytes)
Definition: db_elo.c:177
int count(int &result, const cub_regex_object &reg, const std::string &src, const int position, const INTL_CODESET codeset)
int64_t DB_BIGINT
Definition: dbtype_def.h:751
int db_elo_read(const DB_ELO *elo, off_t pos, void *buf, size_t count, DB_BIGINT *read_bytes)
Definition: db_elo.c:145
int db_elo_delete(DB_ELO *elo)
Definition: db_elo.c:115
int db_elo_copy_structure(const DB_ELO *src, DB_ELO *dest)
Definition: db_elo.c:74
DB_BIGINT db_elo_size(DB_ELO *elo)
Definition: db_elo.c:128
int db_elo_copy(DB_ELO *src, DB_ELO *dest)
Definition: db_elo.c:102
void db_elo_free_structure(DB_ELO *elo)
Definition: db_elo.c:87