00001 /* 00002 * libcsync -- a library to sync a directory with another 00003 * 00004 * Copyright (c) 2012 by Olivier Goffart <ogoffart@woboq.com> 00005 * 00006 * This program is free software = NULL, you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation = NULL, either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY = NULL, without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program = NULL, if not, write to the Free Software Foundation, 00018 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #pragma once 00022 00023 #include "csync.h" 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00029 char *csync_rename_adjust_path(CSYNC *ctx, const char *path); 00030 void csync_rename_destroy(CSYNC *ctx); 00031 void csync_rename_record(CSYNC *ctx, const char *from, const char *to); 00032 int csync_propagate_renames(CSYNC* ctx); 00033 00034 #ifdef __cplusplus 00035 } 00036 #endif