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

9 years ago
.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
9 years ago
.B #include <sxmp/sxmp.h>
.sp
9 years ago
#define sxhub_set_priv(c, p)
9 years ago
.br
9 years ago
#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
9 years ago
.B sxhub_set_priv
will set a pointer
.B p
to connections set
.B c
.br
9 years ago
.B sxhub_get_priv
will return your pointer set to
.B c
hub link.
.br
.SH RETURN VALUE
None in case of
9 years ago
.B sxhub_set_priv
, a private pointer set in case of
9 years ago
.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
9 years ago
.BI sxhub_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)