Add doxygen for event_base_dump_events

This commit is contained in:
Nick Mathewson 2012-02-11 21:05:50 -05:00
parent c89b4e63f6
commit cad5753587

View 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()),