GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PACK_FOPEN_VTABLE (3)

NAME

pack_fopen_vtable - Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

PACKFILE *pack_fopen_vtable(const PACKFILE_VTABLE *vtable, void *userdata);

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().

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’.

SEE ALSO

pack_fopen(3), pack_fopen_chunk(3), packfile_password(3), expackf(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro PACK_FOPEN_VTABLE (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.