You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libsxmp/man/sxhub_set_priv.3

59 lines
1.1 KiB
Groff

.TH SXHUB_SET_PRIV 3 "20 July 2015" "SXMP" "SXMP Library Manual"
.SH NAME
sxhub_set_priv \- Set a private pointer to the links hub
.br
sxhub_get_priv \- Get a private pointer of the links hub
.br
.SH SYNOPSIS
.B #include <sxmp/sxmp.h>
.sp
#define sxhub_set_priv(c, p)
.br
#define sxhub_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 sxhub_set_priv
will set a pointer
.B p
to connections set
.B c
.br
.B sxhub_get_priv
will return your pointer set to
.B c
hub link.
.br
.SH RETURN VALUE
None in case of
.B sxhub_set_priv
, a private pointer set in case of
.B sxhub_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 sxhub_set_ondestroy(3)
.SH COPYRIGHT
This software licensed under GNU LGPL v3. See COPYING for further details.
.br
(c) Askele Group 2013-2015 <http://askele.com>
.SH AUTHOR
Alexander Vdolainen (vdo@askele.com)