Remove non-working function.

This commit is contained in:
Andreas Schneider 2008-06-02 17:01:48 +02:00
parent 5168e3ee70
commit 057f72471f
2 changed files with 0 additions and 10 deletions

View file

@ -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;

View file

@ -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);