mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Fix the rd_event_addr prototype and slightly clarify the use of the "event"
parameter. MFC after: 3 days
This commit is contained in:
parent
b252f278ea
commit
59c56d6c6f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265630
|
@ -48,7 +48,7 @@
|
|||
.Fc
|
||||
.Ft rd_err_e
|
||||
.Fo rd_event_addr
|
||||
.Fa "rd_agent_t *rdap, rd_notify_t *notify"
|
||||
.Fa "rd_agent_t *rdap, rd_event_e event, rd_notify_t *notify"
|
||||
.Fc
|
||||
.Ft rd_err_e
|
||||
.Fo rd_event_enable
|
||||
|
@ -142,10 +142,10 @@ enables reporting of events.
|
|||
This function always returns RD_OK.
|
||||
.Pp
|
||||
.Fn rd_event_addr
|
||||
returns the event address in the
|
||||
returns the event address corresponding to the
|
||||
.Ft event
|
||||
parameter.
|
||||
At the moment we only report RD_NOTIFY_BPT events.
|
||||
At the moment we only report events of type RD_NOTIFY_BPT.
|
||||
.Pp
|
||||
.Fn rd_event_getmsg
|
||||
returns the message associated with the latest event.
|
||||
|
|
Loading…
Reference in a new issue