Skip to content

File elo.c

FileList > cubrid > src > object > elo.c

Go to the source code of this file

  • #include "config.h"
  • #include <stdio.h>
  • #include <string.h>
  • #include <assert.h>
  • #include <stddef.h>
  • #include <errno.h>
  • #include <fcntl.h>
  • #include <sys/stat.h>
  • #include "elo.h"
  • #include "boot.h"
  • #include "dbtype.h"
  • #include "error_manager.h"
  • #include "es.h"
  • #include "lob_locator.hpp"
  • #include "object_primitive.h"
  • #include "object_representation.h"
  • #include "storage_common.h"
  • #include "memory_wrapper.hpp"

Public Static Attributes

Type Name
const DB_ELO elo_Initializer = { -1[**LL**](broker__monitor_8c.md#function-timeout), [**NULL**](freelistheap_8h.md#define-null), [**NULL**](freelistheap_8h.md#define-null), ELO\_NULL, ES\_NONE }

Public Functions

Type Name
int elo_copy (DB_ELO * elo, DB_ELO * dest)
int elo_copy_structure (const DB_ELO * elo, DB_ELO * dest)
int elo_copy_with_prefix (DB_ELO * src_elo, const char * prefix, DB_ELO * dest_elo)
int elo_create (DB_ELO * elo)
int elo_delete (DB_ELO * elo, bool force_delete)
void elo_free_structure (DB_ELO * elo)
void elo_init_structure (DB_ELO * elo)
ssize_t elo_read (const DB_ELO * elo, off_t pos, void * buf, size_t count)
off_t elo_size (DB_ELO * elo)
ssize_t elo_write (DB_ELO * elo, off_t pos, const void * buf, size_t count)

Macros

Type Name
define ELO_NEEDS_TRANSACTION (e) (([**e**](broker__monitor_8c.md#function-timeout))-&gt;es\_type == ES\_OWFS \|\| ([**e**](broker__monitor_8c.md#function-timeout))-&gt;es\_type == ES\_POSIX)

Public Static Attributes Documentation

variable elo_Initializer

const DB_ELO elo_Initializer;

Public Functions Documentation

function elo_copy

int elo_copy (
    DB_ELO * elo,
    DB_ELO * dest
) 

function elo_copy_structure

int elo_copy_structure (
    const  DB_ELO * elo,
    DB_ELO * dest
) 

function elo_copy_with_prefix

int elo_copy_with_prefix (
    DB_ELO * src_elo,
    const  char * prefix,
    DB_ELO * dest_elo
) 

function elo_create

int elo_create (
    DB_ELO * elo
) 

function elo_delete

int elo_delete (
    DB_ELO * elo,
    bool force_delete
) 

function elo_free_structure

void elo_free_structure (
    DB_ELO * elo
) 

function elo_init_structure

void elo_init_structure (
    DB_ELO * elo
) 

function elo_read

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

function elo_size

off_t elo_size (
    DB_ELO * elo
) 

function elo_write

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

Macro Definition Documentation

define ELO_NEEDS_TRANSACTION

#define ELO_NEEDS_TRANSACTION (
    e
) `(( e )->es_type == ES_OWFS || ( e )->es_type == ES_POSIX )`


The documentation for this class was generated from the following file cubrid/src/object/elo.c