Go to the source code of this file.
- Enumerator:
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.
- Parameters
-
ctx | The synchronizer context. |
void csync_exclude_destroy |
( |
CSYNC * |
ctx | ) |
|
Destroy the exclude list in memory.
- Parameters
-
ctx | The synchronizer context. |
int csync_exclude_load |
( |
CSYNC * |
ctx, |
|
|
const char * |
fname |
|
) |
| |
Load exclude list.
- Parameters
-
ctx | The context of the synchronizer. |
fname | The filename to load. |
- Returns
- 0 on success, -1 if an error occured with errno set.
Check if the given path should be excluded.
This excludes also paths which can't be used without unix extensions.
- Parameters
-
ctx | The synchronizer context. |
path | The patch to check. |
- Returns
- 2 if excluded and needs cleanup, 1 if excluded, 0 if not.