1ZZIP_INIT_IO(3) zziplib Function List ZZIP_INIT_IO(3)
2
3
4
6 zzip_init_io, zzip_get_default_io - init plugin struct.
7
9 #include <zzip/lib.h>
10
11 int zzip_init_io((zzip_plugin_io_handlers_t io, int flags));
12
13 zzip_plugin_io_t zzip_get_default_io((void));
14
16 The zzip_init_io function initializes the users handler struct to
17 default values being the posix io functions in default configured
18 environments.
19
20 Note that the target io_handlers_t structure should be static or
21 atleast it should be kept during the lifetime of zzip operations.
22
23 The zzip_get_default_io function returns a zzip_plugin_io_t handle to
24 static defaults wrapping the posix io file functions for actual file
25 access. The returned structure is shared by all threads in the system.
26
28 ยท Guido Draheim <guidod@gmx.de> Mike Nordell <tamlin-@-algonet-se>
29
31 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
32
33
34
35zziplib 0.13.71 ZZIP_INIT_IO(3)