#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "c_private.h"
#include "vio/csync_vio_handle.h"
#include "vio/csync_vio_file_stat.h"
Go to the source code of this file.
Data Structures | |
struct | fhandle_s |
Typedefs | |
typedef struct fhandle_s | fhandle_t |
Functions | |
int | csync_vio_chmod (CSYNC *ctx, const char *uri, mode_t mode) |
int | csync_vio_chown (CSYNC *ctx, const char *uri, uid_t owner, gid_t group) |
int | csync_vio_close (CSYNC *ctx, csync_vio_handle_t *handle) |
int | csync_vio_closedir (CSYNC *ctx, csync_vio_handle_t *dhandle) |
void | csync_vio_commit (CSYNC *ctx) |
csync_vio_handle_t * | csync_vio_creat (CSYNC *ctx, const char *uri, mode_t mode) |
const char * | csync_vio_file_id (CSYNC *ctx, const char *path) |
char * | csync_vio_get_error_string (CSYNC *ctx) |
int | csync_vio_init (CSYNC *ctx, const char *module, const char *args) |
int64_t | csync_vio_lseek (CSYNC *ctx, csync_vio_handle_t *fhandle, int64_t offset, int whence) |
int | csync_vio_mkdir (CSYNC *ctx, const char *uri, mode_t mode) |
int | csync_vio_mkdirs (CSYNC *ctx, const char *uri, mode_t mode) |
csync_vio_handle_t * | csync_vio_open (CSYNC *ctx, const char *uri, int flags, mode_t mode) |
csync_vio_handle_t * | csync_vio_opendir (CSYNC *ctx, const char *name) |
ssize_t | csync_vio_read (CSYNC *ctx, csync_vio_handle_t *fhandle, void *buf, size_t count) |
csync_vio_file_stat_t * | csync_vio_readdir (CSYNC *ctx, csync_vio_handle_t *dhandle) |
int | csync_vio_rename (CSYNC *ctx, const char *olduri, const char *newuri) |
int | csync_vio_rmdir (CSYNC *ctx, const char *uri) |
int | csync_vio_sendfile (CSYNC *ctx, csync_vio_handle_t *sfp, csync_vio_handle_t *dst) |
int | csync_vio_set_property (CSYNC *ctx, const char *key, void *data) |
void | csync_vio_shutdown (CSYNC *ctx) |
int | csync_vio_stat (CSYNC *ctx, const char *uri, csync_vio_file_stat_t *buf) |
int | csync_vio_unlink (CSYNC *ctx, const char *uri) |
int | csync_vio_utimes (CSYNC *ctx, const char *uri, const struct timeval *times) |
ssize_t | csync_vio_write (CSYNC *ctx, csync_vio_handle_t *fhandle, const void *buf, size_t count) |
int csync_vio_chmod | ( | CSYNC * | ctx, | |
const char * | uri, | |||
mode_t | mode | |||
) |
int csync_vio_chown | ( | CSYNC * | ctx, | |
const char * | uri, | |||
uid_t | owner, | |||
gid_t | group | |||
) |
int csync_vio_close | ( | CSYNC * | ctx, | |
csync_vio_handle_t * | handle | |||
) |
int csync_vio_closedir | ( | CSYNC * | ctx, | |
csync_vio_handle_t * | dhandle | |||
) |
void csync_vio_commit | ( | CSYNC * | ctx | ) |
csync_vio_handle_t* csync_vio_creat | ( | CSYNC * | ctx, | |
const char * | uri, | |||
mode_t | mode | |||
) |
const char* csync_vio_file_id | ( | CSYNC * | ctx, | |
const char * | path | |||
) |
char* csync_vio_get_error_string | ( | CSYNC * | ctx | ) |
int csync_vio_init | ( | CSYNC * | ctx, | |
const char * | module, | |||
const char * | args | |||
) |
int64_t csync_vio_lseek | ( | CSYNC * | ctx, | |
csync_vio_handle_t * | fhandle, | |||
int64_t | offset, | |||
int | whence | |||
) |
int csync_vio_mkdir | ( | CSYNC * | ctx, | |
const char * | uri, | |||
mode_t | mode | |||
) |
int csync_vio_mkdirs | ( | CSYNC * | ctx, | |
const char * | uri, | |||
mode_t | mode | |||
) |
csync_vio_handle_t* csync_vio_open | ( | CSYNC * | ctx, | |
const char * | uri, | |||
int | flags, | |||
mode_t | mode | |||
) |
csync_vio_handle_t* csync_vio_opendir | ( | CSYNC * | ctx, | |
const char * | name | |||
) |
ssize_t csync_vio_read | ( | CSYNC * | ctx, | |
csync_vio_handle_t * | fhandle, | |||
void * | buf, | |||
size_t | count | |||
) |
csync_vio_file_stat_t* csync_vio_readdir | ( | CSYNC * | ctx, | |
csync_vio_handle_t * | dhandle | |||
) |
int csync_vio_rename | ( | CSYNC * | ctx, | |
const char * | olduri, | |||
const char * | newuri | |||
) |
int csync_vio_rmdir | ( | CSYNC * | ctx, | |
const char * | uri | |||
) |
int csync_vio_sendfile | ( | CSYNC * | ctx, | |
csync_vio_handle_t * | sfp, | |||
csync_vio_handle_t * | dst | |||
) |
int csync_vio_set_property | ( | CSYNC * | ctx, | |
const char * | key, | |||
void * | data | |||
) |
void csync_vio_shutdown | ( | CSYNC * | ctx | ) |
int csync_vio_stat | ( | CSYNC * | ctx, | |
const char * | uri, | |||
csync_vio_file_stat_t * | buf | |||
) |
int csync_vio_unlink | ( | CSYNC * | ctx, | |
const char * | uri | |||
) |
int csync_vio_utimes | ( | CSYNC * | ctx, | |
const char * | uri, | |||
const struct timeval * | times | |||
) |
ssize_t csync_vio_write | ( | CSYNC * | ctx, | |
csync_vio_handle_t * | fhandle, | |||
const void * | buf, | |||
size_t | count | |||
) |