zzip_init_io(3)

NAME
zzip_init_io, zzip_get_default_io - init plugin struct.

SYNOPSIS

#include <zzip/lib.h>

b'int\fInzzip_init_io(zzip_plugin_io_handlers_t io, int flags)
b'zzip_plugin_io_t\fInzzip_get_default_io(void)n'

DESCRIPTION
b'The zzip_init_io function initializes the users handler struct to default values being the posix io functions in default configured environments.

b'Note that the target io_handlers_t structure should be static or atleast it should be kept during the lifetime of zzip operations.n'

b' The zzip_get_default_io function returns a zzip_plugin_io_t handle to static defaultswrapping the posix io file functions for actual file access. Thereturned structure is shared by all threads in the system.n

AUTHOR
b' Guido Draheim <guidod@gmx.de>Mike Nordell <tamlin-@-algonet-se>

COPYRIGHT
b'Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)n'