23 #ifndef _CSYNC_VIO_METHOD_H
24 #define _CSYNC_VIO_METHOD_H
32 #define VIO_METHOD_HAS_FUNC(method,func) \
33 (method != NULL && method->func != NULL \
34 && ((size_t)(((char *)&((method)->func)) - ((char *)(method))) < (method)->method_table_size))
56 typedef const char* (*csync_method_get_file_id_fn)(
const char*
path);
83 typedef char* (*csync_method_get_error_string_fn)();