Skip to content

File es.c

FileList > cubrid > src > storage > es.c

Go to the source code of this file

  • #include "config.h"
  • #include <assert.h>
  • #include "es.h"
  • #include "system_parameter.h"
  • #include "error_manager.h"
  • #include "es_posix.h"
  • #include "es_owfs.h"
  • #include "memory_wrapper.hpp"

Public Static Attributes

Type Name
ES_TYPE es_initialized_type = ES\_NONE

Public Functions

Type Name
int es_copy_file (const char * in_uri, const char * metaname, char * out_uri)
int es_copy_file_with_prefix (const char * in_uri, const char * metaname, const char * prefix, char * out_uri)
int es_create_file (char * out_uri)
int es_delete_file (const char * uri)
void es_final (void)
off_t es_get_file_size (const char * uri)
int es_init (const char * uri)
int es_move_file_with_prefix (const char * src_path, const char * metaname, const char * prefix, char * new_path)
ssize_t es_read_file (const char * uri, void * buf, size_t count, off_t offset)
int es_rename_file (const char * in_uri, const char * metaname, char * out_uri)
ssize_t es_write_file (const char * uri, const void * buf, size_t count, off_t offset)

Public Static Attributes Documentation

variable es_initialized_type

ES_TYPE es_initialized_type;

Public Functions Documentation

function es_copy_file

int es_copy_file (
    const  char * in_uri,
    const  char * metaname,
    char * out_uri
) 

function es_copy_file_with_prefix

int es_copy_file_with_prefix (
    const  char * in_uri,
    const  char * metaname,
    const  char * prefix,
    char * out_uri
) 

function es_create_file

int es_create_file (
    char * out_uri
) 

function es_delete_file

int es_delete_file (
    const  char * uri
) 

function es_final

void es_final (
    void
) 

function es_get_file_size

off_t es_get_file_size (
    const  char * uri
) 

function es_init

int es_init (
    const  char * uri
) 

function es_move_file_with_prefix

int es_move_file_with_prefix (
    const  char * src_path,
    const  char * metaname,
    const  char * prefix,
    char * new_path
) 

function es_read_file

ssize_t es_read_file (
    const  char * uri,
    void * buf,
    size_t count,
    off_t offset
) 

function es_rename_file

int es_rename_file (
    const  char * in_uri,
    const  char * metaname,
    char * out_uri
) 

function es_write_file

ssize_t es_write_file (
    const  char * uri,
    const  void * buf,
    size_t count,
    off_t offset
) 


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