CUBRID Engine  latest
elo.h File Reference
#include "dbtype_def.h"
#include "porting.h"
#include "system.h"
#include <stdio.h>
Include dependency graph for elo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void elo_init_structure (DB_ELO *elo)
 
int elo_create (DB_ELO *elo)
 
int elo_copy_structure (const DB_ELO *elo, DB_ELO *dest)
 
void elo_free_structure (DB_ELO *elo)
 
int elo_copy (DB_ELO *elo, DB_ELO *dest)
 
int elo_delete (DB_ELO *elo, bool force_delete)
 
off_t elo_size (DB_ELO *elo)
 
ssize_t elo_read (const DB_ELO *elo, off_t pos, void *buf, size_t count)
 
ssize_t elo_write (DB_ELO *elo, off_t pos, const void *buf, size_t count)
 

Function Documentation

int elo_copy_structure ( const DB_ELO elo,
DB_ELO dest 
)
void elo_free_structure ( DB_ELO elo)

Definition at line 186 of file elo.c.

References db_private_free_and_init, elo_init_structure(), db_elo::locator, db_elo::meta_data, and NULL.

Referenced by db_elo_free_structure(), mr_freemem_elo(), and pr_clear_value().

Here is the caller graph for this function:

void elo_init_structure ( DB_ELO elo)
ssize_t elo_read ( const DB_ELO elo,
off_t  pos,
void *  buf,
size_t  count 
)

Definition at line 453 of file elo.c.

References assert, ASSERT_ERROR, ELO_FBO, es_read_file(), db_elo::locator, NO_ERROR, NULL, and db_elo::type.

Referenced by db_elo_read().

Here is the caller graph for this function:

off_t elo_size ( DB_ELO elo)

Definition at line 421 of file elo.c.

References assert, ELO_FBO, es_get_file_size(), db_elo::locator, NULL, db_elo::size, and db_elo::type.

Referenced by db_elo_size().

Here is the caller graph for this function:

ssize_t elo_write ( DB_ELO elo,
off_t  pos,
const void *  buf,
size_t  count 
)

Definition at line 479 of file elo.c.

References assert, ASSERT_ERROR, cubregex::count(), ELO_FBO, es_write_file(), db_elo::locator, NULL, db_elo::size, and db_elo::type.

Referenced by db_elo_write().

Here is the caller graph for this function: