man: added sxchannel_open and sxchannel_close (3) manpages;
This commit is contained in:
parent
c88511bf5c
commit
d813bc7237
@ -2,4 +2,5 @@ man_MANS = sxmsg_rreply.3 connections_create.3 connections_init.3 connections_de
|
|||||||
sntl_init.3 connections_setsslserts.3 connections_set_priv.3 connections_get_priv.3 \
|
sntl_init.3 connections_setsslserts.3 connections_set_priv.3 connections_get_priv.3 \
|
||||||
connections_set_ondestroy.3 connections_set_onpulse.3 connections_set_sslvalidate.3 \
|
connections_set_ondestroy.3 connections_set_onpulse.3 connections_set_sslvalidate.3 \
|
||||||
connections_set_authcheck.3 connections_set_rpcvalidator.3 connections_set_channelcall.3 \
|
connections_set_authcheck.3 connections_set_rpcvalidator.3 connections_set_channelcall.3 \
|
||||||
connection_master_link.3 connection_link.3 connection_close.3
|
connection_master_link.3 connection_link.3 connection_close.3 sxchannel_open.3 \
|
||||||
|
sxchannel_close.3
|
||||||
|
1
man/sxchannel_close.3
Symbolic link
1
man/sxchannel_close.3
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
sxchannel_open.3
|
75
man/sxchannel_open.3
Normal file
75
man/sxchannel_open.3
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
.TH SXCHANNEL_OPEN 3 "20 July 2015" "SNTLLv2" "SNTL Library Manual"
|
||||||
|
.SH NAME
|
||||||
|
sxchannel_open \- Open RPC channel.
|
||||||
|
.br
|
||||||
|
sxchannel_close \- Close RPC channel
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B #include <sntl/sntllv2.h>
|
||||||
|
.sp
|
||||||
|
chnl_t *sxchannel_open(conn_t *co, int type);
|
||||||
|
|
||||||
|
int sxchannel_close(chnl_t *channel);
|
||||||
|
|
||||||
|
.br
|
||||||
|
.sp
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.B sxchannel_open
|
||||||
|
will open RPC channel using
|
||||||
|
.B co
|
||||||
|
connection link with specified type via
|
||||||
|
.B type
|
||||||
|
that available/permitted to use for current peer.
|
||||||
|
.br
|
||||||
|
.B sxchannel_close
|
||||||
|
will close RPC channel pointed by
|
||||||
|
.B channel
|
||||||
|
destroying all allocated structures, including channel itself.
|
||||||
|
.br
|
||||||
|
.SH RETURN VALUE
|
||||||
|
Upon successful completion, the function
|
||||||
|
.B sxchannel_open
|
||||||
|
will return a valid pointer to the newly opened RPC channel. Or NULL otherwise setting
|
||||||
|
.B errno
|
||||||
|
with error code.
|
||||||
|
.br
|
||||||
|
.B sxchannel_close
|
||||||
|
will return
|
||||||
|
.B SNE_SUCCESS
|
||||||
|
on success, otherwise error will be returned.
|
||||||
|
.SH ERRORS
|
||||||
|
.B SNE_FAILED
|
||||||
|
will be returned in case of bad params given.
|
||||||
|
.br
|
||||||
|
.B SNE_ENOMEM
|
||||||
|
will be returned if there are no memory available.
|
||||||
|
.br
|
||||||
|
.B SNE_BADPROTO
|
||||||
|
will be returned if other side has an invalid protocol.
|
||||||
|
.B SNE_EPERM
|
||||||
|
will be returned if permission was denied.
|
||||||
|
.br
|
||||||
|
.B SNE_LINKERROR
|
||||||
|
or
|
||||||
|
.B SNE_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
|
||||||
|
Not known yet.
|
||||||
|
.SH EXAMPLE
|
||||||
|
None.
|
||||||
|
.SH APPLICATION USAGE
|
||||||
|
None.
|
||||||
|
.SH RATIONALE
|
||||||
|
None.
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BI connections_set_rpcvalidator(3)
|
||||||
|
,
|
||||||
|
.BI connection_link(3)
|
||||||
|
,
|
||||||
|
.BI connection_close(3)
|
||||||
|
.SH COPYRIGHT
|
||||||
|
This is a proprietary software. See COPYING for further details.
|
||||||
|
.br
|
||||||
|
(c) Askele Group 2013-2015 <http://askele.com>
|
||||||
|
.SH AUTHOR
|
||||||
|
Alexander Vdolainen (vdo@askele.com)
|
Loading…
x
Reference in New Issue
Block a user