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 01:48:48 +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)

Hi David.

   Is there any reason to we have got the `pdf_fsys_create' procedure?
   It is supposed do:

    -- Function: pdf_fsys_t pdf_fsys_create (struct pdf_fsys_impl_s 
IMPLEMENTATION)

        Create and return a new filesystem variable that will use a given
        implementation.

   which copy the `pdf_fsys_impl_s' structure.

   I think we could assume pdf_fsys_t is a pointer to pdf_fsys_impl_s
   (rename pdf_fsys_impl_s to pdf_fsys_s), in order to the library can
   provide PDF_FSYS_DISK, PDF_FSYS_HTTP, etc, to use as pdf_fsys_t
   directly.

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.

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





reply via email to

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