doc
Data Structures | Macros | Typedefs | Functions
csync_misc.h File Reference
#include "config.h"
#include "csync.h"

Go to the source code of this file.

Data Structures

struct  csync_hbf_info_s
 
struct  csync_overall_progress_t
 

Macros

#define FNM_PATHNAME   (1 << 0) /* No wildcard can ever match `/'. */
 

Typedefs

typedef struct csync_hbf_info_s csync_hbf_info_t
 

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)
 

Macro Definition Documentation

#define FNM_PATHNAME   (1 << 0) /* No wildcard can ever match `/'. */

Definition at line 34 of file csync_misc.h.

Typedef Documentation

Definition at line 56 of file csync_misc.h.

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  )