diff options
author | Mattias Andrée <maandree@kth.se> | 2022-04-22 22:25:58 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-04-22 22:25:58 +0200 |
commit | 61e837a2b5ec28f0864871b6aef494493f6262d4 (patch) | |
tree | 557fe093ce75b22522acc48ee7b70b4f71e88eae /man3/LIBAXL_CONTEXT.3 | |
parent | m (diff) | |
download | libaxl-61e837a2b5ec28f0864871b6aef494493f6262d4.tar.gz libaxl-61e837a2b5ec28f0864871b6aef494493f6262d4.tar.bz2 libaxl-61e837a2b5ec28f0864871b6aef494493f6262d4.tar.xz |
Documentation
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | man3/LIBAXL_CONTEXT.3 | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/man3/LIBAXL_CONTEXT.3 b/man3/LIBAXL_CONTEXT.3 new file mode 100644 index 0000000..6b21224 --- /dev/null +++ b/man3/LIBAXL_CONTEXT.3 @@ -0,0 +1,38 @@ +.TH LIBAXL_CONTEXT 3 libaxl +.SH NAME +LIBAXL_CONTEXT - Thread context for connection to display server +.SH SYNOPSIS +.nf +#include <libaxl.h> + +typedef struct libaxl_context LIBAXL_CONTEXT; +.fi +.SH DESCRIPTION +The +.B LIBAXL_CONTEXT +type definition (also known as +.BR "struct libaxl_context" ) +is used by the libaxl library to wrap a +.BR LIBAXL_CONNECTION (3) +object and store thread-private data. +All threads running at the same time shall +access the display server via a unique +.B LIBAXL_CONTEXT +object. +.PP +The library only exposes an incomplete +definition to of the structure because it +should be regarded as opaque as it may change +between versions of the library. +.PP +The +.BR libaxl_context_create (3) +function is used to create a +.B LIBAXL_CONTEXT +object; it can be deallocated with the +.BR libaxl_context_free (3) +function. +.SH SEE ALSO +.BR libaxl_context_create (3), +.BR libaxl_context_free (3), +.BR LIBAXL_CONNECTION (3) |