From 404cc54cb077b1a2fdca7d6719453940a8975fea Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Sun, 26 Jul 2015 06:02:27 +0300 Subject: [PATCH] added another manpages; --- debian/libsntl-dev.manpages | 4 ++- man/Makefile.am | 2 +- man/connections_get_priv.3 | 1 + man/connections_set_priv.3 | 57 +++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 2 deletions(-) create mode 120000 man/connections_get_priv.3 create mode 100644 man/connections_set_priv.3 diff --git a/debian/libsntl-dev.manpages b/debian/libsntl-dev.manpages index 2445c82..bc7f8c1 100644 --- a/debian/libsntl-dev.manpages +++ b/debian/libsntl-dev.manpages @@ -4,4 +4,6 @@ man/connections_destroy.3 man/connections_free.3 man/connections_init.3 man/sntl_init.3 -man/connections_setsslserts.3 \ No newline at end of file +man/connections_setsslserts.3 +man/connections_set_priv.3 +man/connections_get_priv.3 \ No newline at end of file diff --git a/man/Makefile.am b/man/Makefile.am index fe07e27..21a3388 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,2 +1,2 @@ man_MANS = sxmsg_rreply.3 connections_create.3 connections_init.3 connections_destroy.3 connections_free.3 \ - sntl_init.3 connections_setsslserts.3 + sntl_init.3 connections_setsslserts.3 connections_set_priv.3 connections_get_priv.3 diff --git a/man/connections_get_priv.3 b/man/connections_get_priv.3 new file mode 120000 index 0000000..2aeb521 --- /dev/null +++ b/man/connections_get_priv.3 @@ -0,0 +1 @@ +connections_set_priv.3 \ No newline at end of file diff --git a/man/connections_set_priv.3 b/man/connections_set_priv.3 new file mode 100644 index 0000000..faf21cd --- /dev/null +++ b/man/connections_set_priv.3 @@ -0,0 +1,57 @@ +.TH CONNECTIONS_SET_PRIV 3 "20 July 2015" "SNTLLv2" "SNTL Library Manual" +.SH NAME +connections_set_priv \- Set a private pointer to the connection links set +.br +connections_get_priv \- Get a private pointer of the connection links set +.br +.SH SYNOPSIS +.B #include +.sp +#define connections_set_priv(c, p) +#define connections_get_priv(c) + +.br +.sp +.SH DESCRIPTION +There macros should be used in case if you want set and get back your private pointer for something. +.br +Pointer is a +.B void* +i.e. it might be anything you pointed in the memory. +.br +.B connections_set_priv +will set a pointer +.B p +to connections set +.B c +.br +.B connections_get_priv +will return your pointer set to +.B c +connection set. +.br +.SH RETURN VALUE +None in case of +.B connections_set_priv +, a private pointer set in case of +.B connections_get_priv +.br +.SH ERRORS +None. +.br +.SH BUGS +None known yet. +.SH EXAMPLE +None. +.SH APPLICATION USAGE +None. +.SH RATIONALE +None. +.SH SEE ALSO +.BI connections_set_ondestroy(3) +.SH COPYRIGHT +This is a proprietary software. See COPYING for further details. +.br +(c) Askele Group 2013-2015 +.SH AUTHOR +Alexander Vdolainen (vdo@askele.com)