From b6e1814d80b291df946b3778a8ca71f10da5a1b5 Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Tue, 15 Mar 2016 13:17:44 +0200 Subject: [PATCH] [manpages] Added sxlink_connect_at function to manpages; --- man/Makefile.am | 2 +- man/sxlink_connect_at.3 | 1 + man/sxlink_master_accept.3 | 19 ++++++++++++++++--- 3 files changed, 18 insertions(+), 4 deletions(-) create mode 120000 man/sxlink_connect_at.3 diff --git a/man/Makefile.am b/man/Makefile.am index 9329bce..e3d63d1 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -4,4 +4,4 @@ man_MANS = sxmsg_rreply.3 sxhub_create.3 sxhub_init.3 sxhub_destroy.3 sxhub_free sxhub_set_authcheck.3 sxhub_set_rpcvalidator.3 sxhub_set_channelcall.3 \ sxlink_master_accept.3 sxlink_connect.3 sxlink_close.3 sxchannel_open.3 \ sxchannel_close.3 sxmsg_send.3 sxmsg_send_pp.3 sxmsg_clean.3 sxmp_finalize.3 sxmsg_pulse.3 \ - sxmsg_reply.3 sxmsg_reply_pp.3 sxmsg_return.3 sxmsg_return_pp.3 + sxmsg_reply.3 sxmsg_reply_pp.3 sxmsg_return.3 sxmsg_return_pp.3 sxlink_connect_at.3 diff --git a/man/sxlink_connect_at.3 b/man/sxlink_connect_at.3 new file mode 120000 index 0000000..fbb96ce --- /dev/null +++ b/man/sxlink_connect_at.3 @@ -0,0 +1 @@ +sxlink_master_accept.3 \ No newline at end of file diff --git a/man/sxlink_master_accept.3 b/man/sxlink_master_accept.3 index 52b4f63..f517a5d 100644 --- a/man/sxlink_master_accept.3 +++ b/man/sxlink_master_accept.3 @@ -1,9 +1,11 @@ -.TH SXLINK_MASTER_ACCEPT 3 "20 July 2015" "SXMP" "SXMP Library Manual" +.TH SXLINK_MASTER_ACCEPT 3 "15 March 2016" "SXMP" "SXMP Library Manual" .SH NAME sxlink_master_accept \- Create a new link on already accept TCP connection on the master side. .br sxlink_connect \- Create link to the master. .br +sxlink_connect_at \- Create link to the master and assign private data. +.br sxlink_close \- Close link. .SH SYNOPSIS .B #include @@ -14,6 +16,10 @@ sxlink_t *sxlink_connect(sxhub_t *hub, const char *host, int port, const char *SSL_cert, const char *login, const char *passwd); +sxlink_t *sxlink_connect_at(sxhub_t *hub, const char *host, + int port, const char *SSL_cert, const char *login, + const char *passwd, const void *priv); + int sxlink_close(sxlink_t *co); .br @@ -44,6 +50,13 @@ trying to authorizated with username pointed by and password pointed by .B passwd .br +.B sxlink_connect_at +will do the same as +.B sxlink_connect +but also will assign a private data pointed by +.B priv +to be used by application implementation. +.br .B sxlink_close will close link pointed by .B co @@ -96,6 +109,6 @@ Using connection_link on master side with initialized connections set for master .SH COPYRIGHT This software licensed under GNU LGPL v3. See COPYING for further details. .br -(c) Askele Group 2013-2015 +(c) Askele Group 2013-2015 , (c) libsxmp dev team 2016 .SH AUTHOR -Alexander Vdolainen (vdo@askele.com) +Alexander Vdolainen (avdolainen@zoho.com)