258 |
258 |
259 int isfileindir(SyncDirectory *dir, const char *path, SyncFile *f); |
259 int isfileindir(SyncDirectory *dir, const char *path, SyncFile *f); |
260 |
260 |
261 int cmd_add_directory(CmdArgs *args); |
261 int cmd_add_directory(CmdArgs *args); |
262 int cmd_list_dirs(); |
262 int cmd_list_dirs(); |
263 int cmd_check_repositories(); |
263 int cmd_check_repositories(CmdArgs *args); |
264 |
264 |
265 char* create_locktoken_file(const char *syncdirname, const char *locktoken); |
265 char* create_locktoken_file(const char *syncdirname, const char *locktoken); |
266 |
266 |
267 /* |
267 /* |
268 * if encryption is enabled, the crypto-hash is returned as hex string |
268 * if encryption is enabled, the crypto-hash is returned as hex string |