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
12 int
13 zzip_init_io(zzip_plugin_io_handlers_t io, int flags)
14
15 zzip_plugin_io_t
16 zzip_get_default_io(void)
17
18
19
20
22 The zzip_init_io function initializes the users handler struct to
23 default values being the posix io functions in default configured
24 environments.
25
26 Note that the target io_handlers_t structure should be static or
27 atleast it should be kept during the lifetime of zzip operations.
28
29 The zzip_get_default_io function returns a zzip_plugin_io_t handle to
30 static defaults wrapping the posix io file functions for actual file
31 access. The returned structure is shared by all threads in the system.
32
33
34
36 Guido Draheim <guidod@gmx.de> Mike Nordell <tamlin-@-algonet-se>
37
38
39
41 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
42
43
44
45
46
47zziplib 0.13.72 zzip_init_io(3)