]> granicus.if.org Git - libevent/commitdiff
Add doxygen for event_base_dump_events
authorNick Mathewson <nickm@torproject.org>
Sun, 12 Feb 2012 02:05:50 +0000 (21:05 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 20 Feb 2012 18:56:01 +0000 (13:56 -0500)
include/event2/event.h

index 01018fa83b9573b830ee8e72da271c4525f449e4..a795a232046ae634eb73e1a8cbc5e44c1631d396 100644 (file)
@@ -1239,6 +1239,16 @@ void event_set_mem_functions(
 #define EVENT_SET_MEM_FUNCTIONS_IMPLEMENTED
 #endif
 
+/**
+   Writes a human-readable description of all inserted and/or active
+   events to a provided stdio stream.
+
+   This is intended for debugging; its format is not guaranteed to be the same
+   between libevent versions.
+
+   @param base An event_base on which to scan the events.
+   @param output A stdio file to write on.
+ */
 void event_base_dump_events(struct event_base *, FILE *);
 
 /** Sets 'tv' to the current time (as returned by gettimeofday()),