mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Remove non-working function.
This commit is contained in:
parent
5168e3ee70
commit
057f72471f
2 changed files with 0 additions and 10 deletions
|
@ -576,15 +576,6 @@ int csync_remove_config_dir(CSYNC *ctx) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
int csync_remove_journal(CSYNC *ctx) {
|
||||
if ((ctx == NULL) || ! (ctx->status & CSYNC_STATUS_INIT)) {
|
||||
return -1;
|
||||
}
|
||||
unlink(ctx->journal.file);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int csync_set_module_auth_callback(CSYNC *ctx, csync_module_auth_callback cb) {
|
||||
if (ctx == NULL || cb == NULL) {
|
||||
return -1;
|
||||
|
|
|
@ -131,7 +131,6 @@ int csync_add_exclude_list(CSYNC *ctx, const char *path);
|
|||
char *csync_get_config_dir(CSYNC *ctx);
|
||||
int csync_set_config_dir(CSYNC *ctx, const char *path);
|
||||
int csync_remove_config_dir(CSYNC *ctx);
|
||||
int csync_remove_journal(CSYNC *ctx);
|
||||
csync_module_auth_callback csync_get_module_auth_callback(CSYNC *ctx);
|
||||
int csync_set_module_auth_callback(CSYNC *ctx, csync_module_auth_callback cb);
|
||||
int csync_get_status(CSYNC *ctx);
|
||||
|
|
Loading…
Reference in a new issue