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