CUBRID Engine  latest
es_posix.h File Reference
#include <sys/types.h>
#include "es_common.h"
Include dependency graph for es_posix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ES_PATH_SEPARATOR   "/"
 
#define ES_POSIX_HASH1   (769)
 
#define ES_POSIX_HASH2   (381)
 

Functions

int es_posix_init (const char *base_path)
 
void es_posix_final (void)
 
int es_local_read_file (const char *path, void *buf, size_t count, off_t offset)
 
off_t es_local_get_file_size (const char *path)
 

Macro Definition Documentation

#define ES_PATH_SEPARATOR   "/"

Definition at line 33 of file es_posix.h.

#define ES_POSIX_HASH1   (769)

Definition at line 36 of file es_posix.h.

#define ES_POSIX_HASH2   (381)

Definition at line 37 of file es_posix.h.

Function Documentation

off_t es_local_get_file_size ( const char *  path)

Definition at line 713 of file es_posix.c.

References ARG_FILE_LINE, ER_ERROR_SEVERITY, ER_ES_GENERAL, er_set_with_oserror(), and es_log.

Referenced by es_get_file_size().

Here is the caller graph for this function:

int es_local_read_file ( const char *  path,
void *  buf,
size_t  count,
off_t  offset 
)

Definition at line 647 of file es_posix.c.

References ARG_FILE_LINE, ER_ERROR_SEVERITY, ER_ES_GENERAL, er_set_with_oserror(), and es_log.

Referenced by es_read_file().

Here is the caller graph for this function:

void es_posix_final ( void  )
int es_posix_init ( const char *  base_path)

Definition at line 204 of file es_posix.c.

References ARG_FILE_LINE, ER_ES_GENERAL, ER_NOTIFICATION_SEVERITY, er_set_with_oserror(), NO_ERROR, and strlcpy().

Referenced by es_init().

Here is the caller graph for this function: