.THCONNECTIONS_SET_AUTHCHECK 3"20 July 2015""SNTLLv2" "SNTL Library Manual"
.TH SXHUB_SET_AUTHCHECK 3"20 July 2015""SXMP" "SXMP Library Manual"
.SHNAME
connections_set_authcheck \- Set callback for the connection links based on the connections set, called to validate user name and password of the peer.
sxhub_set_authcheck \- Set callback for the connection links based on the connections set, called to validate user name and password of the peer.
.br
.SHSYNOPSIS
.B#include<sntl/sntllv2.h>
.B#include<sxmp/sxmp.h>
.sp
#define connections_set_authcheck(c, f)
#define sxhub_set_authcheck(c, f)
.br
.sp
@ -53,13 +53,13 @@ This function should be used on the master service, it will not be called on the
.THCONNECTIONS_SET_CHANNELCALL 3"20 July 2015""SNTLLv2" "SNTL Library Manual"
.TH SXHUB_SET_CHANNELCALL 3"20 July 2015""SXMP" "SXMP Library Manual"
.SHNAME
connections_set_channelcall \- Set callback for the connection links based on the connections set, called during connection link initiation on the client side.
sxhub_set_channelcall \- Set callback for the connection links based on the connections set, called during connection link initiation on the client side.
.br
.SHSYNOPSIS
.B#include<sntl/sntllv2.h>
.B#include<sxmp/sxmp.h>
.sp
#define connections_set_channelcall(c, f)
#define sxhub_set_channelcall(c, f)
.br
.sp
@ -28,7 +28,7 @@ In fail case other code error should be returned. It's a good practice to return
.BSNE_IGNORED
if your application doesn't support protocol channels or outdated.
.br
SNTL will push channel type id in
SXMP will push channel type id in
.Btid
and text description in
.Bdesc
@ -56,7 +56,7 @@ This function should be used on the client service, it will not be called on the
.THCONNECTIONS_SET_SSLVALIDATE 3"20 July 2015""SNTLLv2" "SNTL Library Manual"
.TH SXHUB_SET_SSLVALIDATE 3"20 July 2015""SXMP" "SXMP Library Manual"
.SHNAME
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.
sxhub_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
.SHSYNOPSIS
.B#include<sntl/sntllv2.h>
.B#include<sxmp/sxmp.h>
.sp
#define connections_set_sslvalidate(c, f)
#define sxhub_set_sslvalidate(c, f)
.br
.sp
@ -50,11 +50,11 @@ This function should be used on the master service, currently it's not applicabl
int port, const char *SSL_cert, const char *login,
const char *passwd);
@ -86,13 +86,13 @@ None.
.SHRATIONALE
Using connection_link on master side with initialized connections set for master functionality will cause memory leaks, use different connections set structure if you need this functionality on the masters side.
.SHSEEALSO
.BIconnections_setsslserts(3)
.BI sxhub_setsslserts(3)
,
.BIconnections_create(3)
.BI sxhub_create(3)
,
.BIconnections_destroy(3)
.BI sxhub_destroy(3)
,
.BIsntl_init(3)
.BIsxmp_init(3)
.SHCOPYRIGHT
This is a proprietary software. See COPYING for further details.
This function will be useful in RPC functions required to reply ASAP i.e. for getting some data. If RPC function takes a lot of time it's better to use other functions and/or postponed message processing.
.SHRATIONALE
Use for lightweight RPC functions, this method can be used only in RPC call i.e. within SNTL thread context.
Use for lightweight RPC functions, this method can be used only in RPC call i.e. within SXMP thread context.
.SHCOPYRIGHT
This is a proprietary software. See COPYING for further details.