added another manpages;

v0.5.xx
Alexander Vdolainen 9 years ago
parent 29e2dc935e
commit 404cc54cb0

@ -5,3 +5,5 @@ man/connections_free.3
man/connections_init.3
man/sntl_init.3
man/connections_setsslserts.3
man/connections_set_priv.3
man/connections_get_priv.3

@ -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

@ -0,0 +1 @@
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 <sntl/sntllv2.h>
.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 <http://askele.com>
.SH AUTHOR
Alexander Vdolainen (vdo@askele.com)
Loading…
Cancel
Save