[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] http filesystem create/destroy functions needed
From: |
Aleksander Morgado |
Subject: |
Re: [pdf-devel] http filesystem create/destroy functions needed |
Date: |
Wed, 10 Feb 2010 11:18:42 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Hi Scoot,
> Managing libcurl for the http filesystem and RIA will require
> pthreads, and the initialization and cleanup of some http-
> filesystem-wide resources (worker thread, libcurl resources).
> There are currently no filesystem init or cleanup routines
> defined (that I could find anyhow).
>
> Is there any reason not to add a filesystem init/cleanup pair
> of functions to the filesystem interface?
>
Not real reason, I would say. But you can add init() and deinit()
functions if needed (not in public API), as done in the text & time
modules for example, which will then get called by pdf_init() and
pdf_finish() respectively.
Cheers,
-Aleksander
Re: [pdf-devel] http filesystem create/destroy functions needed,
Aleksander Morgado <=