aboutsummaryrefslogtreecommitdiffstats
path: root/libcoopgamma_context_destroy.3
blob: 0d144a8785ae7e45efef1964db6a54801203c325 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.TH LIBCOOPGAMMA_CONTEXT_DESTROY 3 LIBCOOPGAMMA
.SH "NAME"
libcoopgamma_context_destroy - Deinitialise a libcoopgamma_context_t
.SH "SYNOPSIS"
.nf
#include <libcoopgamma.h>

void libcoopgamma_context_destroy(libcoopgamma_context_t *restrict \fIthis\fP, int \fIdisconnect\fP);
.fi
.P
Link with
.IR -lcoopgamma .
.SH "DESCRIPTION"
The
.BR libcoopgamma_context_destroy ()
function releases all resources allocated
to
.IR this .
The function does however not free the
allocation of the pointer
.IR this
itself.
.P
If and only if
.I disconnect
is a nonzero value, the function will
disconnect from the coopgamma server.
.SH "SEE ALSO"
.BR libcoopgamma_context_initialise (3),
.BR libcoopgamma_context_marshal (3),
.BR libcoopgamma_ramps_destroy (3),
.BR libcoopgamma_filter_destroy (3),
.BR libcoopgamma_crtc_info_destroy (3),
.BR libcoopgamma_filter_query_destroy (3),
.BR libcoopgamma_queried_filter_destroy (3),
.BR libcoopgamma_filter_table_destroy (3),
.BR libcoopgamma_error_destroy (3),
.BR libcoopgamma_async_context_destroy (3)