You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
Groff
48 lines
1.2 KiB
Groff
.TH SXMSG_PULSE 3 "20 July 2015" "SXMP" "SXMP Library Manual"
|
|
.SH NAME
|
|
sxmsg_pulse \- Function used to send a pulse
|
|
.SH SYNOPSIS
|
|
.B #include <sxmp/sxmp.h>
|
|
.sp
|
|
int sxmsg_pulse(sxlink_t *co, const char *data, size_t datalen);
|
|
.sp
|
|
.SH DESCRIPTION
|
|
.B sxmsg_pulse
|
|
Will send a pulse message to the peer of underlying link
|
|
.B co
|
|
with given buffer
|
|
.B data
|
|
with given length in bytes
|
|
.B datalen.
|
|
.br
|
|
.SH RETURN VALUE
|
|
Upon successful completion, the function will write a pulse message returning
|
|
.B SXE_SUCCESS
|
|
Othrewise other error code will be returned.
|
|
.SH ERRORS
|
|
.B SXE_FAILED
|
|
returns if message has invalid index, channel or message pointer is NULL.
|
|
.br
|
|
.B SXE_ESSL
|
|
returns if write was failed i.e. connection link was broken, or SSL error occurs.
|
|
.br
|
|
.B SXE_EBUSY
|
|
Limit exceed.
|
|
.B SXE_SUCCESS
|
|
returns on success.
|
|
.br
|
|
.SH BUGS
|
|
Not known yet.
|
|
.SH EXAMPLE
|
|
None.
|
|
.SH APPLICATION USAGE
|
|
This function might be useful to send events to the peer.
|
|
.SH RATIONALE
|
|
Calling this function from the client might blocks all operation with callee.
|
|
.SH COPYRIGHT
|
|
This software licensed under GNU LGPL v2.1. See COPYING for further details.
|
|
.br
|
|
(c) Askele Group 2013-2015 <http://askele.com>
|
|
.SH AUTHOR
|
|
Alexander Vdolainen (vdo@askele.com)
|