Skip to content

File es.h

FileList > cubrid > src > storage > es.h

Go to the source code of this file

  • #include <sys/types.h>
  • #include "porting.h"
  • #include "es_common.h"
  • #include "recovery.h"

Public Types

Type Name
typedef char ES_URI

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)

Macros

Type Name
define ES_MAX_URI_LEN ([**PATH\_MAX**](broker__monitor_8c.md#function-timeout) + [**ES\_URI\_PREFIX\_MAX**](es_8h.md#define-es_uri_prefix_max))
define ES_URI_PREFIX_MAX 8

Public Types Documentation

typedef ES_URI

typedef char ES_URI[(PATH_MAX+ 8)];

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
) 

Macro Definition Documentation

define ES_MAX_URI_LEN

#define ES_MAX_URI_LEN `( PATH_MAX + ES_URI_PREFIX_MAX )`

define ES_URI_PREFIX_MAX

#define ES_URI_PREFIX_MAX `8`


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