diff options
Diffstat (limited to 'libcrystfel/src/utils.h')
-rw-r--r-- | libcrystfel/src/utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcrystfel/src/utils.h b/libcrystfel/src/utils.h index b5f07f26..39ee8848 100644 --- a/libcrystfel/src/utils.h +++ b/libcrystfel/src/utils.h @@ -206,7 +206,10 @@ enum log_msg_type { extern void STATUS(const char *format, ...); extern void ERROR(const char *format, ...); -extern void set_log_message_func(void (*new_log_msg_func)(enum log_msg_type type, const char *)); +typedef void (*LogMsgFunc)(enum log_msg_type type, const char *msg, void *vp); + +extern void set_log_message_func(LogMsgFunc new_log_msg_func, + void *vp); /* ------------------------------ File handling ----------------------------- */ |