small clean up in read_cb api
[ebb.git] / error_callback.h
blob0f2f0a4f93d0f01ef436253425373ac2b1641e28
1 #ifndef error_callback_h
2 #define error_callback_h
4 #define ERROR_CB_WARNING 0 /* just a warning, tell the user */
5 #define ERROR_CB_ERROR 1 /* an error, the operation cannot complete */
6 #define ERROR_CB_FATAL 2 /* an error, the operation must be aborted */
7 typedef void (*error_cb_t) (int severity, char *message);
9 #endif error_callback_h