Logo Search packages:      
Sourcecode: catdoc version File versions

int ole_open ( FILE *  stream  ) 

Open stream, which correspond to directory entry last read by ole_readdir

Returns:
opaque pointer to pass to ole_read, casted to (FILE *)

Definition at line 336 of file ole.c.

                           {
      oleEntry *e=(oleEntry *)stream;
      if ( e->type != oleStream)
            return -2;
      
      e->readed=0;
      e->offset= ftell(e->file);
      return 0;
}


Generated by  Doxygen 1.6.0   Back to index