1 #ifndef SEAFILE_ERROR_IMPL_H 2 #define SEAFILE_ERROR_IMPL_H 3 4 #include "seafile-error.h" 5 6 enum { 7 SYNC_ERROR_LEVEL_REPO, 8 SYNC_ERROR_LEVEL_FILE, 9 SYNC_ERROR_LEVEL_NETWORK, 10 }; 11 12 const char * 13 sync_error_id_to_str (int error); 14 15 int 16 sync_error_level (int error); 17 18 #endif 19