Go to the source code of this file.
◆ csync_exclude_destroy()
void csync_exclude_destroy |
( |
CSYNC * |
ctx | ) |
|
Destroy the exclude list in memory.
- Parameters
-
ctx | The synchronizer context. |
◆ csync_exclude_load()
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.
◆ csync_excluded()
int csync_excluded |
( |
CSYNC * |
ctx, |
|
|
const char * |
path |
|
) |
| |
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
- 1 if excluded, 0 if not.