26 #include <sys/types.h> 31 #define ES_PATH_SEPARATOR "\\" 33 #define ES_PATH_SEPARATOR "/" 36 #define ES_POSIX_HASH1 (769) 37 #define ES_POSIX_HASH2 (381) 42 #if defined (SA_MODE) || defined (SERVER_MODE) 43 extern int xes_posix_create_file (
char *new_path);
44 extern ssize_t xes_posix_write_file (
const char *path,
const void *buf,
size_t count, off_t offset);
45 extern ssize_t xes_posix_read_file (
const char *path,
void *buf,
size_t count, off_t offset);
46 extern int xes_posix_delete_file (
const char *path);
47 extern int xes_posix_copy_file (
const char *src_path,
char *metaname,
char *new_path);
48 extern int xes_posix_rename_file (
const char *src_path,
const char *metaname,
char *new_path);
49 extern off_t xes_posix_get_file_size (
const char *path);
void es_posix_final(void)
int es_local_read_file(const char *path, void *buf, size_t count, off_t offset)
int count(int &result, const cub_regex_object ®, const std::string &src, const int position, const INTL_CODESET codeset)
int es_posix_init(const char *base_path)
off_t es_local_get_file_size(const char *path)