Go to the documentation of this file.
20 #ifndef __CLSYNC_CLSYNC_H
21 #define __CLSYNC_CLSYNC_H
25 #include <sys/types.h>
27 #define CLSYNC_API_VERSION 2
int(* api_funct_init)(struct ctx *, struct indexes *)
int(* api_funct_rsync)(const char *inclist, const char *exclist)
int(* api_funct_deinit)()
enum eventobjtype eventobjtype_t
int(* api_funct_sync)(int n, api_eventinfo_t *)
enum eventinfo_flags eventinfo_flags_t
int clsyncapi_getapiversion()
Returns currect API version.
int apievinfo2rsynclist(struct indexes *indexes_p, FILE *listfile, int n, api_eventinfo_t *apievinfo)
Writes the list to list-file for "--include-from" option of rsync using array of api_eventinfo_t.
eventobjtype_t objtype_old
@ EVIF_CONTENTRECURSIVELY
eventobjtype_t objtype_new
pid_t clsyncapi_fork(struct ctx *ctx_p)
clsync's wrapper for function "fork()". Should be used instead of "fork()" directly,...