physfs_internal.h
changeset 508 0e75524a96af
parent 504 3420d82f9b01
child 511 7a36b164a975
equal deleted inserted replaced
507:e13baf8efaaa 508:0e75524a96af
   723          * This is reserved for the driver to store information.
   723          * This is reserved for the driver to store information.
   724          */
   724          */
   725     void *opaque;
   725     void *opaque;
   726 
   726 
   727         /*
   727         /*
       
   728          * Non-zero if file opened for reading, zero if write/append.
       
   729          */
       
   730     PHYSFS_uint8 forReading;
       
   731 
       
   732         /*
       
   733          * This is the buffer, if one is set (NULL otherwise). Don't touch.
       
   734          */
       
   735     PHYSFS_uint8 *buffer;
       
   736 
       
   737         /*
       
   738          * This is the buffer size, if one is set (0 otherwise). Don't touch.
       
   739          */
       
   740     PHYSFS_uint64 bufsize;
       
   741 
       
   742         /*
       
   743          * This is the buffer fill size. Don't touch.
       
   744          */
       
   745     PHYSFS_uint64 buffill;
       
   746 
       
   747         /*
       
   748          * This is the buffer position. Don't touch.
       
   749          */
       
   750     PHYSFS_uint64 bufpos;
       
   751 
       
   752         /*
   728          * This should be the DirHandle that created this FileHandle.
   753          * This should be the DirHandle that created this FileHandle.
   729          */
   754          */
   730     const struct __PHYSFS_DIRHANDLE__ *dirHandle;
   755     const struct __PHYSFS_DIRHANDLE__ *dirHandle;
   731 
   756 
   732         /*
   757         /*