.\" Generated by the Allegro makedoc utility .TH pack_fopen_vtable 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME pack_fopen_vtable \- Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B PACKFILE *pack_fopen_vtable(const PACKFILE_VTABLE *vtable, void *userdata); .SH DESCRIPTION Creates a new packfile structure that uses the functions specified in the vtable instead of the standard functions. The data pointer by `vtable' and `userdata' must remain available for the lifetime of the created packfile. While the created packfile structure can be used with other Allegro functions, there are two limitations. First, opening chunks using pack_fopen_chunk() on top of the returned packfile is not possible at this time. And packfile_password() does not have any effect on packfiles opened with pack_fopen_vtable(). .SH "RETURN VALUE" On success, it returns a pointer to a PACKFILE structure, and on error it returns NULL and stores an error code in `errno'. .SH SEE ALSO .BR pack_fopen (3alleg4), .BR pack_fopen_chunk (3alleg4), .BR packfile_password (3alleg4), .BR expackf (3alleg4)