minor addition;
This commit is contained in:
parent
ccdf306c66
commit
1032f74ad2
@ -12,5 +12,24 @@ sxmsg_rreply \- Function used to send a rapid reply without confirmation
|
|||||||
Will reply rapidly to the message using already allocated buffer, which might be
|
Will reply rapidly to the message using already allocated buffer, which might be
|
||||||
retrieved via sxmsg_rapidbuf(). This function will write desired message as soon
|
retrieved via sxmsg_rapidbuf(). This function will write desired message as soon
|
||||||
as possible. It will not wait any write or delivery confirmation.
|
as possible. It will not wait any write or delivery confirmation.
|
||||||
|
.br
|
||||||
|
.SH RETURN VALUE
|
||||||
|
.B SNE_FAILED
|
||||||
|
returns if message has invalid index, channel or message pointer is NULL.
|
||||||
|
.br
|
||||||
|
.B SNE_ESSL
|
||||||
|
returns if write was failed i.e. connection link was broken, or SSL error occurs.
|
||||||
|
.br
|
||||||
|
.B SNE_SUCCESS
|
||||||
|
returns on success.
|
||||||
|
.br
|
||||||
|
.SH BUGS
|
||||||
|
Not known yet.
|
||||||
|
.SH EXAMPLE
|
||||||
|
.B Reply rapidly from the RPC function call.
|
||||||
|
.RS
|
||||||
|
.nf
|
||||||
|
.if t .ft CW
|
||||||
|
char *buf = sxmsg_rapidbuf(msg);
|
||||||
|
int ln = snprintf(buf, MAX_BBUFLEN, "(is-done)");
|
||||||
|
return sxmsg_rreply(msg, str, ln);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user