mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 05:48:51 -04:00
Small doxygen tweaks
This commit is contained in:
parent
a60632a1ec
commit
6e67b51023
@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
@section usage Standard usage
|
@section usage Standard usage
|
||||||
|
|
||||||
Every program that uses Libevent must inclurde the <event2/event.h>
|
Every program that uses Libevent must include the <event2/event.h>
|
||||||
header, and pass the -levent flag to the linker. (You can instead link
|
header, and pass the -levent flag to the linker. (You can instead link
|
||||||
-levent_core if you only want the main event and buffered IO-based code,
|
-levent_core if you only want the main event and buffered IO-based code,
|
||||||
and don't want to link any protocol code.)
|
and don't want to link any protocol code.)
|
||||||
@ -124,9 +124,11 @@
|
|||||||
@section timers Timers
|
@section timers Timers
|
||||||
|
|
||||||
Libevent can also be used to create timers that invoke a callback after a
|
Libevent can also be used to create timers that invoke a callback after a
|
||||||
certain amount of time has expired. The evtimer_new() function returns
|
certain amount of time has expired. The evtimer_new() macro returns
|
||||||
an event struct to use as a timer. To activate the timer, call
|
an event struct to use as a timer. To activate the timer, call
|
||||||
evtimer_add(). Timers can be deactivated by calling evtimer_del().
|
evtimer_add(). Timers can be deactivated by calling evtimer_del().
|
||||||
|
(These macros are thin wrappers around event_new(), event_add(),
|
||||||
|
and event_del(); you can also use those instead.)
|
||||||
|
|
||||||
@section evdns Asynchronous DNS resolution
|
@section evdns Asynchronous DNS resolution
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user