|
|
|
@ -6,9 +6,9 @@ sxchannel_close \- Close RPC channel
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
.B #include <sxmp/sxmp.h>
|
|
|
|
|
.sp
|
|
|
|
|
chnl_t *sxchannel_open(conn_t *co, int type);
|
|
|
|
|
chnl_t *sxchannel_open(sxlink_t *co, int type);
|
|
|
|
|
|
|
|
|
|
int sxchannel_close(chnl_t *channel);
|
|
|
|
|
int sxchannel_close(sxchnl_t *channel);
|
|
|
|
|
|
|
|
|
|
.br
|
|
|
|
|
.sp
|
|
|
|
@ -34,23 +34,23 @@ with error code.
|
|
|
|
|
.br
|
|
|
|
|
.B sxchannel_close
|
|
|
|
|
will return
|
|
|
|
|
.B SNE_SUCCESS
|
|
|
|
|
.B SXE_SUCCESS
|
|
|
|
|
on success, otherwise error will be returned.
|
|
|
|
|
.SH ERRORS
|
|
|
|
|
.B SNE_FAILED
|
|
|
|
|
.B SXE_FAILED
|
|
|
|
|
will be returned in case of bad params given.
|
|
|
|
|
.br
|
|
|
|
|
.B SNE_ENOMEM
|
|
|
|
|
.B SXE_ENOMEM
|
|
|
|
|
will be returned if there are no memory available.
|
|
|
|
|
.br
|
|
|
|
|
.B SNE_BADPROTO
|
|
|
|
|
.B SXE_BADPROTO
|
|
|
|
|
will be returned if other side has an invalid protocol.
|
|
|
|
|
.B SNE_EPERM
|
|
|
|
|
.B SXE_EPERM
|
|
|
|
|
will be returned if permission was denied.
|
|
|
|
|
.br
|
|
|
|
|
.B SNE_LINKERROR
|
|
|
|
|
.B SXE_LINKERROR
|
|
|
|
|
or
|
|
|
|
|
.B SNE_LINKBROKEN
|
|
|
|
|
.B SXE_LINKBROKEN
|
|
|
|
|
will be returned if connection link is broken i.e. SSL read or write was failed due to the broken TCP connection.
|
|
|
|
|
.br
|
|
|
|
|
.SH BUGS
|
|
|
|
@ -64,9 +64,9 @@ None.
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
.BI sxhub_set_rpcvalidator(3)
|
|
|
|
|
,
|
|
|
|
|
.BI connection_link(3)
|
|
|
|
|
.BI sxlink_connect(3)
|
|
|
|
|
,
|
|
|
|
|
.BI connection_close(3)
|
|
|
|
|
.BI sxlink_close(3)
|
|
|
|
|
.SH COPYRIGHT
|
|
|
|
|
This is a proprietary software. See COPYING for further details.
|
|
|
|
|
.br
|
|
|
|
|