doc
Functions
csync_vio.h File Reference
#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.

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)
 
int csync_vio_commit (CSYNC *ctx)
 
csync_vio_handle_tcsync_vio_creat (CSYNC *ctx, const char *uri, mode_t mode)
 
int csync_vio_get (CSYNC *ctx, csync_vio_handle_t *flocal, csync_vio_handle_t *fremote, csync_file_stat_t *st)
 
char * csync_vio_get_status_string (CSYNC *ctx)
 
int csync_vio_getfd (csync_vio_handle_t *fhandle)
 
int csync_vio_init (CSYNC *ctx, const char *module, const char *args)
 
off_t csync_vio_lseek (CSYNC *ctx, csync_vio_handle_t *fhandle, off_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_tcsync_vio_open (CSYNC *ctx, const char *uri, int flags, mode_t mode)
 
csync_vio_handle_tcsync_vio_opendir (CSYNC *ctx, const char *name)
 
int csync_vio_put (CSYNC *ctx, csync_vio_handle_t *flocal, csync_vio_handle_t *fremote, csync_file_stat_t *st)
 
ssize_t csync_vio_read (CSYNC *ctx, csync_vio_handle_t *fhandle, void *buf, size_t count)
 
csync_vio_file_stat_tcsync_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_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)
 

Function Documentation

◆ csync_vio_chmod()

int csync_vio_chmod ( CSYNC ctx,
const char *  uri,
mode_t  mode 
)

◆ csync_vio_chown()

int csync_vio_chown ( CSYNC ctx,
const char *  uri,
uid_t  owner,
gid_t  group 
)

◆ csync_vio_close()

int csync_vio_close ( CSYNC ctx,
csync_vio_handle_t handle 
)

◆ csync_vio_closedir()

int csync_vio_closedir ( CSYNC ctx,
csync_vio_handle_t dhandle 
)

◆ csync_vio_commit()

int csync_vio_commit ( CSYNC ctx)

◆ csync_vio_creat()

csync_vio_handle_t* csync_vio_creat ( CSYNC ctx,
const char *  uri,
mode_t  mode 
)

◆ csync_vio_get()

int csync_vio_get ( CSYNC ctx,
csync_vio_handle_t flocal,
csync_vio_handle_t fremote,
csync_file_stat_t st 
)

◆ csync_vio_get_status_string()

char* csync_vio_get_status_string ( CSYNC ctx)

◆ csync_vio_getfd()

int csync_vio_getfd ( csync_vio_handle_t fhandle)

◆ csync_vio_init()

int csync_vio_init ( CSYNC ctx,
const char *  module,
const char *  args 
)

◆ csync_vio_lseek()

off_t csync_vio_lseek ( CSYNC ctx,
csync_vio_handle_t fhandle,
off_t  offset,
int  whence 
)

◆ csync_vio_mkdir()

int csync_vio_mkdir ( CSYNC ctx,
const char *  uri,
mode_t  mode 
)

◆ csync_vio_mkdirs()

int csync_vio_mkdirs ( CSYNC ctx,
const char *  uri,
mode_t  mode 
)

◆ csync_vio_open()

csync_vio_handle_t* csync_vio_open ( CSYNC ctx,
const char *  uri,
int  flags,
mode_t  mode 
)

◆ csync_vio_opendir()

csync_vio_handle_t* csync_vio_opendir ( CSYNC ctx,
const char *  name 
)

◆ csync_vio_put()

int csync_vio_put ( CSYNC ctx,
csync_vio_handle_t flocal,
csync_vio_handle_t fremote,
csync_file_stat_t st 
)

◆ csync_vio_read()

ssize_t csync_vio_read ( CSYNC ctx,
csync_vio_handle_t fhandle,
void *  buf,
size_t  count 
)

◆ csync_vio_readdir()

csync_vio_file_stat_t* csync_vio_readdir ( CSYNC ctx,
csync_vio_handle_t dhandle 
)

◆ csync_vio_rename()

int csync_vio_rename ( CSYNC ctx,
const char *  olduri,
const char *  newuri 
)

◆ csync_vio_rmdir()

int csync_vio_rmdir ( CSYNC ctx,
const char *  uri 
)

◆ csync_vio_set_property()

int csync_vio_set_property ( CSYNC ctx,
const char *  key,
void *  data 
)

◆ csync_vio_shutdown()

void csync_vio_shutdown ( CSYNC ctx)

◆ csync_vio_stat()

int csync_vio_stat ( CSYNC ctx,
const char *  uri,
csync_vio_file_stat_t buf 
)

◆ csync_vio_unlink()

int csync_vio_unlink ( CSYNC ctx,
const char *  uri 
)

◆ csync_vio_utimes()

int csync_vio_utimes ( CSYNC ctx,
const char *  uri,
const struct timeval *  times 
)

◆ csync_vio_write()

ssize_t csync_vio_write ( CSYNC ctx,
csync_vio_handle_t fhandle,
const void *  buf,
size_t  count 
)