csync_exclude.h File Reference

Go to the source code of this file.

Functions

void csync_exclude_destroy (CSYNC *ctx)
int csync_exclude_load (CSYNC *ctx, const char *fname)
int csync_excluded (CSYNC *ctx, const char *path)


Function Documentation

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.

int csync_excluded ( CSYNC ctx,
const char *  path 
)

Check if the given path should be excluded.

Parameters:
ctx The synchronizer context.
path The patch to check.
Returns:
1 if excluded, 0 if not.


Generated on Mon May 4 17:43:36 2009 for doc by  doxygen 1.5.6