diff options
Diffstat (limited to 'libunbound/unbound-event.h')
-rw-r--r-- | libunbound/unbound-event.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libunbound/unbound-event.h b/libunbound/unbound-event.h index 432750d774955..d5f0b1a36fe70 100644 --- a/libunbound/unbound-event.h +++ b/libunbound/unbound-event.h @@ -170,7 +170,7 @@ struct ub_event { struct ub_event_vmt* vmt; }; -typedef void (*ub_event_callback_t)(void*, int, void*, int, int, char*); +typedef void (*ub_event_callback_type)(void*, int, void*, int, int, char*); /** * Create a resolving and validation context. @@ -254,7 +254,8 @@ int ub_ctx_set_event(struct ub_ctx* ctx, struct event_base* base); * @return 0 if OK, else error. */ int ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype, - int rrclass, void* mydata, ub_event_callback_t callback, int* async_id); + int rrclass, void* mydata, ub_event_callback_type callback, + int* async_id); #ifdef __cplusplus } |