Fix the rd_event_addr prototype and slightly clarify the use of the "event"

parameter.

MFC after:	3 days
This commit is contained in:
Mark Johnston 2014-05-08 03:33:54 +00:00
parent b252f278ea
commit 59c56d6c6f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265630

View file

@ -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.