DATAFILE(3) Stores an Allegro datafile in memory.


#include <allegro.h>

typedef struct DATAFILE


   void *dat;     - pointer to the actual data
   int type;      - type of the data
   long size;     - size of the data in bytes
   void *prop;    - list of object properties
Read chapter "Datafile routines", section "Using datafiles" for a description on how to obtain/use this structure.