[Unbound-users] Code cleanup

Dag-Erling Smørgrav des at des.no
Tue May 27 23:38:17 UTC 2014


[previous message with large patch is stuck in moderator queue]

I missed one: the prototype for libworker_event_done_cb() needs to be
moved from libunbound/libworker.h to libunbound/worker.h.

Index: libunbound/libworker.h
===================================================================
--- libunbound/libworker.h	(revision 266744)
+++ libunbound/libworker.h	(working copy)
@@ -136,10 +136,6 @@
 /** cleanup the cache to remove all rrset IDs from it, arg is libworker */
 void libworker_alloc_cleanup(void* arg);
 
-/** mesh callback with event results */
-void libworker_event_done_cb(void* arg, int rcode, struct sldns_buffer* buf, 
-	enum sec_status s, char* why_bogus);
-
 /** 
  * fill result from parsed message, on error fills servfail 
  * @param res: is clear at start, filled in at end.
Index: libunbound/worker.h
===================================================================
--- libunbound/worker.h	(revision 266744)
+++ libunbound/worker.h	(working copy)
@@ -91,6 +91,10 @@
 void libworker_bg_done_cb(void* arg, int rcode, sldns_buffer* buf, 
 	enum sec_status s, char* why_bogus);
 
+/** mesh callback with event results */
+void libworker_event_done_cb(void* arg, int rcode, struct sldns_buffer* buf, 
+	enum sec_status s, char* why_bogus);
+
 /**
  * Worker signal handler function. User argument is the worker itself.
  * @param sig: signal number.

DES
-- 
Dag-Erling Smørgrav - des at des.no




More information about the Unbound-users mailing list