PACKFILE_VTABLE man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

PACKFILE_VTABLE(3)		Allegro manual		    PACKFILE_VTABLE(3)

NAME
       PACKFILE_VTABLE	-  Packfile  vtable  structure,	 for custom packfiles.
       Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       typedef struct PACKFILE_VTABLE

DESCRIPTION
	  int pf_fclose(void *userdata);
	  int pf_getc(void *userdata);
	  int pf_ungetc(int c, void *userdata);
	  long pf_fread(void *p, long n, void *userdata);
	  int pf_putc(int c, void *userdata);
	  long pf_fwrite(const void *p, long n, void *userdata);
	  int pf_fseek(void *userdata, int offset);
	  int pf_feof(void *userdata);
	  int pf_ferror(void *userdata);

       This is the vtable which must be provided for custom  packfiles,	 which
       then  can  read	from and write to wherever you like (eg. files in mem‐
       ory). You should provide all the entries of the vtable,	even  if  they
       are empty stubs doing nothing, to avoid Allegro (or you) calling a NULL
       method at some point.

SEE ALSO
       pack_fopen_vtable(3), expackf(3)

Allegro				 version 4.4.2		    PACKFILE_VTABLE(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net