manuals fixo;

v0.5.xx
Alexander Vdolainen 9 years ago
parent b60820b4b9
commit 26f255e15d

@ -1,3 +1,3 @@
man_MANS = sxmsg_rreply.3 connections_create.3 connections_init.3 connections_destroy.3 connections_free.3 \ man_MANS = sxmsg_rreply.3 connections_create.3 connections_init.3 connections_destroy.3 connections_free.3 \
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_ondestroy.3 connections_set_onpulse.3 connections_set_sslvalidate.3

@ -1,6 +1,6 @@
.TH CONNECTIONS_ON_DESTROY 3 "20 July 2015" "SNTLLv2" "SNTL Library Manual" .TH CONNECTIONS_SET_ONDESTROY 3 "20 July 2015" "SNTLLv2" "SNTL Library Manual"
.SH NAME .SH NAME
connections_on_destroy \- Set callback for the connection links based on the connections set, called in case of link destroying connections_set_ondestroy \- Set callback for the connection links based on the connections set, called in case of link destroying
.br .br
.SH SYNOPSIS .SH SYNOPSIS
.B #include <sntl/sntllv2.h> .B #include <sntl/sntllv2.h>
@ -39,6 +39,8 @@ None.
.BI connections_set_priv(3) .BI connections_set_priv(3)
, ,
.BI connections_get_priv(3) .BI connections_get_priv(3)
,
.BI connections_set_onpulse(3)
.SH COPYRIGHT .SH COPYRIGHT
This is a proprietary software. See COPYING for further details. This is a proprietary software. See COPYING for further details.
.br .br

@ -1,6 +1,6 @@
.TH CONNECTIONS_SET_ONPULSE 3 "20 July 2015" "SNTLLv2" "SNTL Library Manual" .TH CONNECTIONS_SET_ONPULSE 3 "20 July 2015" "SNTLLv2" "SNTL Library Manual"
.SH NAME .SH NAME
connections_on_destroy \- Set callback for the connection links based on the connections set, called in case of link pulse message connections_set_onpulse \- Set callback for the connection links based on the connections set, called in case of link pulse message
.br .br
.SH SYNOPSIS .SH SYNOPSIS
.B #include <sntl/sntllv2.h> .B #include <sntl/sntllv2.h>
@ -40,7 +40,7 @@ None.
, ,
.BI connections_get_priv(3) .BI connections_get_priv(3)
, ,
.BI connections_set_onpulse(3) .BI connections_set_ondestroy(3)
.SH COPYRIGHT .SH COPYRIGHT
This is a proprietary software. See COPYING for further details. This is a proprietary software. See COPYING for further details.
.br .br

@ -0,0 +1,57 @@
.TH CONNECTIONS_SET_SSLVALIDATE 3 "20 July 2015" "SNTLLv2" "SNTL Library Manual"
.SH NAME
connections_set_sslvalidate \- Set callback for the connection links based on the connections set, called to validate x.509 certificate of peer by serial number.
.br
.SH SYNOPSIS
.B #include <sntl/sntllv2.h>
.sp
#define connections_set_sslvalidate(c, f)
.br
.sp
.SH DESCRIPTION
This macro should be used if you want to setup callback function fired while connection link initiating, and depending on returning value will establish link or destroy it.
.br
This macro will set on
.B c
connections link set callback
.B f
which is a function pointer of the type:
.br
.sp
.B typedef int (*validate_sslpem_t)(conn_t *);
.br
.sp
It will pass a pointer to the connection link initiating now. Link isn't set fully at this moment and doesn't pass any messages and don't works with channel's operations. To pass initiation to the next stage this function should return
.B SNE_SUCCESS.
In fail case other code error should be returned.
.SH RETURN VALUE
None.
.SH ERRORS
None.
.SH BUGS
None known yet.
.SH EXAMPLE
None.
.SH APPLICATION USAGE
None.
.SH RATIONALE
None.
.SH SEE ALSO
.BI connections_set_priv(3)
,
.BI connections_get_priv(3)
,
.BI connections_set_ondestroy(3)
,
.BI connection_getpctx(3)
,
.BI connection_getpriv(3)
,
.BI connection_setpriv(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…
Cancel
Save