doc
Functions

csync_misc.h File Reference

#include "csync.h"

Go to the source code of this file.

Functions

CSYNC_ERROR_CODE csync_errno_to_csync_error (CSYNC_ERROR_CODE default_err)
int csync_fnmatch (__const char *__pattern, __const char *__name, int __flags)
char * csync_get_local_username (void)
char * csync_get_user_home_dir (void)

Function Documentation

CSYNC_ERROR_CODE csync_errno_to_csync_error ( CSYNC_ERROR_CODE  default_err)

csync_errno_to_csync_error - errno to csync error code

This function tries to convert the value of the current set errno to a csync error code.

Returns:
the corresponding csync error code.
int csync_fnmatch ( __const char *  __pattern,
__const char *  __name,
int  __flags 
)
char* csync_get_local_username ( void  )
char* csync_get_user_home_dir ( void  )