Re: [AD] Low-level Packfile Hooks

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2002-07-20, Santa Claus <thisismeiassureyou@xxxxxxxxxx> wrote:
[snip]
> My changes would have the existing PACKFILE system operating on virtual 
> file descriptors. Each virtual file descriptor would have a set of hook 
> functions associated with it, and these would be called instead of the 
> above lseek(), read(), etc.

I did something similar (at a slightly higher level) in my
custom-packfiles patch (two years old, I won't post a link).

> Before I go ahead and code this, I have a few questions:
> 
> Will the changes be accepted? I'll test it myself, especially making sure 
> that the existing packfile functionality isn't crippled.

Probably not.  The reason is, there is a grander design floating about
at the moment.

> Any other suggestions of ways to improve the system

See my post and Shawn's follow-up in the "nebulous packfiles" thread.
If you don't have that, basically the idea is a chain of filters.

> (without making me do a lot more work :)?

... oh ;-)

PS. If somebody else wants to implement the layered I/O idea, please go
ahead.  I won't be doing it just yet.

-- 
王浩禎



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/