Go to the source code of this file.
Typedefs | |
typedef enum csync_exclude_type_e | CSYNC_EXCLUDE_TYPE |
Enumerations | |
enum | csync_exclude_type_e { CSYNC_NOT_EXCLUDED = 0, CSYNC_FILE_SILENTLY_EXCLUDED, CSYNC_FILE_EXCLUDE_AND_REMOVE, CSYNC_FILE_EXCLUDE_LIST, CSYNC_FILE_EXCLUDE_INVALID_CHAR } |
Functions | |
void | csync_exclude_clear (CSYNC *ctx) |
void | csync_exclude_destroy (CSYNC *ctx) |
int | csync_exclude_load (CSYNC *ctx, const char *fname) |
CSYNC_EXCLUDE_TYPE | csync_excluded (CSYNC *ctx, const char *path, int filetype) |
typedef enum csync_exclude_type_e CSYNC_EXCLUDE_TYPE |
Definition at line 31 of file csync_exclude.h.
enum csync_exclude_type_e |
CSYNC_NOT_EXCLUDED | |
CSYNC_FILE_SILENTLY_EXCLUDED | |
CSYNC_FILE_EXCLUDE_AND_REMOVE | |
CSYNC_FILE_EXCLUDE_LIST | |
CSYNC_FILE_EXCLUDE_INVALID_CHAR |
Definition at line 24 of file csync_exclude.h.
void csync_exclude_clear | ( | CSYNC * | ctx | ) |
Clear the exclude list in memory.
ctx | The synchronizer context. |
void csync_exclude_destroy | ( | CSYNC * | ctx | ) |
Destroy the exclude list in memory.
ctx | The synchronizer context. |
int csync_exclude_load | ( | CSYNC * | ctx, | |
const char * | fname | |||
) |
Load exclude list.
ctx | The context of the synchronizer. | |
fname | The filename to load. |
CSYNC_EXCLUDE_TYPE csync_excluded | ( | CSYNC * | ctx, | |
const char * | path, | |||
int | filetype | |||
) |
Check if the given path should be excluded.
This excludes also paths which can't be used without unix extensions.
ctx | The synchronizer context. | |
path | The patch to check. |