pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] File system Definition Functions


From: jemarch
Subject: Re: [pdf-devel] File system Definition Functions
Date: Tue, 04 Aug 2009 23:04:14 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.92 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

   > The rationale after the existence of that function, and also after the
   > existence of two different types pdf_fsys_t and pdf_fsys_impl_s, is
   > that pdf_fsys_t is intended to be opaque.  We may want to expand its
   > definition to hold data not related to an specific implementation.
   >

   Well, then according to the current filesystem module interface,
   what abstraction is supposed I should provide in the HTTP filesystem?

     a) A pdf_fsys_t variable initialized at compile time and, therefore,
        assuming the internal structure of the pdf_fsys_t type.

     b) A set of procedures and a pdf_fsys_impl_s structure, delegating
        to the user the work of create/destroy the HTTP filesystem type
        from them.

The second.  The user then can use the create function to instantiate
a filesystem variable.

---
Jose E. Marchesi    address@hidden
GNU Project         http://www.gnu.org






reply via email to

[Prev in Thread] Current Thread [Next in Thread]