Re: Request: Test suite for EFS.



u07ih@abdn.ac.uk wrote:

> > I'm guessing that the file name passed to efs_open is a colon (:)
> > seperated string composed of filesystem-filename, embedded-filename,
> > and driver.  Possibly something like this /data/compdoc.efs:/tmp/cia.txt:fsys.
> >
> > I think you can choose the driver by appending a colon prefixed string to the
> > filename (i.e. fsys) or the efs_open call will autodetect what it is opening,
> > although all these conjectures are based on about a five second look at the code.
>
> >From my quick tests efs_open takes a compound file and returns and EFSFile *.
> you then pass this pointer into efs_file_open, with a filename of the file
> inside the compound file. I've not tried your way, but it looks overly
> complicated...
>
> iain

I'm sure you are right - I just scanned the code enough to verify that the
interface was abstract enough to support multiple document architectures.

Is there any documentation or did you just work things out from the source?

Kent





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]