doc
src
csync_util.h
Go to the documentation of this file.
1
/*
2
* libcsync -- a library to sync a directory with another
3
*
4
* Copyright (c) 2008-2013 by Andreas Schneider <asn@cryptomilk.org>
5
* Copyright (c) 2012-2013 by Klaas Freitag <freitag@owncloud.com>wie
6
*
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
*/
21
22
#ifndef _CSYNC_UTIL_H
23
#define _CSYNC_UTIL_H
24
25
#include <stdint.h>
26
27
#include "
csync_private.h
"
28
29
const
char
*
csync_instruction_str
(
enum
csync_instructions_e
instr);
30
31
void
csync_memstat_check
(
void
);
32
33
int
csync_merge_file_trees
(
CSYNC
*ctx);
34
35
int
csync_unix_extensions
(
CSYNC
*ctx);
36
37
/* Convert a csync_file_stat_t to csync_vio_file_stat_t */
38
csync_vio_file_stat_t
*
csync_vio_convert_file_stat
(
csync_file_stat_t
*st);
39
40
#endif
/* _CSYNC_UTIL_H */
csync_instructions_e
csync_instructions_e
Definition:
csync.h:135
csync_private.h
Private interface of csync.
csync_merge_file_trees
int csync_merge_file_trees(CSYNC *ctx)
csync_unix_extensions
int csync_unix_extensions(CSYNC *ctx)
csync_file_stat_s
Definition:
csync_private.h:174
csync_instruction_str
const char * csync_instruction_str(enum csync_instructions_e instr)
csync_vio_convert_file_stat
csync_vio_file_stat_t * csync_vio_convert_file_stat(csync_file_stat_t *st)
csync_memstat_check
void csync_memstat_check(void)
csync_s
csync public structure
Definition:
csync_private.h:89
csync_vio_file_stat_s
Definition:
csync_vio_file_stat.h:75
Generated by
1.8.18