doc
csync_misc.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_MISC_H
23 #define _CSYNC_MISC_H
24 
25 #include <csync.h>
26 
27 char *csync_get_user_home_dir(void);
28 char *csync_get_local_username(void);
29 
30 int csync_fnmatch(__const char *__pattern, __const char *__name, int __flags);
31 
32 CSYNC_STATUS csync_errno_to_status(int error, CSYNC_STATUS default_status);
33 
34 #endif /* _CSYNC_MISC_H */
Application developer interface for csync.
char * csync_get_user_home_dir(void)
char * csync_get_local_username(void)
int csync_fnmatch(__const char *__pattern, __const char *__name, int __flags)
enum csync_status_codes_e CSYNC_STATUS
Definition: csync.h:122
CSYNC_STATUS csync_errno_to_status(int error, CSYNC_STATUS default_status)