Go to the documentation of this file. 22 #ifndef _CSYNC_MACROS_H 23 #define _CSYNC_MACROS_H 29 #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) 33 #define CSYNC_CUSTOM_ERRNO_BASE 10000 35 #define ERRNO_GENERAL_ERROR CSYNC_CUSTOM_ERRNO_BASE+2 36 #define ERRNO_LOOKUP_ERROR CSYNC_CUSTOM_ERRNO_BASE+3 37 #define ERRNO_USER_UNKNOWN_ON_SERVER CSYNC_CUSTOM_ERRNO_BASE+4 38 #define ERRNO_PROXY_AUTH CSYNC_CUSTOM_ERRNO_BASE+5 39 #define ERRNO_CONNECT CSYNC_CUSTOM_ERRNO_BASE+6 40 #define ERRNO_TIMEOUT CSYNC_CUSTOM_ERRNO_BASE+7 41 #define ERRNO_PRECONDITION CSYNC_CUSTOM_ERRNO_BASE+8 42 #define ERRNO_RETRY CSYNC_CUSTOM_ERRNO_BASE+9 43 #define ERRNO_REDIRECT CSYNC_CUSTOM_ERRNO_BASE+10 44 #define ERRNO_WRONG_CONTENT CSYNC_CUSTOM_ERRNO_BASE+11 45 #define ERRNO_TIMEDELTA CSYNC_CUSTOM_ERRNO_BASE+12 46 #define ERRNO_ERROR_STRING CSYNC_CUSTOM_ERRNO_BASE+13 47 #define ERRNO_SERVICE_UNAVAILABLE CSYNC_CUSTOM_ERRNO_BASE+14 48 #define ERRNO_QUOTA_EXCEEDED CSYNC_CUSTOM_ERRNO_BASE+15