Re: ioctls for gnome-vfs



On Fri, 2002-11-08 at 08:35, Alexander Larsson wrote:
> So, I wrote a patch that adds gnome_vfs_file_operation that is useful when 
> you want to do a backend specific operation. It is modeled on ioctl, but 
> slightly different. It uses strings instead of magic numbers, so we can 
> easier avoid collisions (backend-specific operations can be prefixed with 
> the module name, we can work out the names for any operations that are 
> common between several modules). It also passes just one pointer instead 
> of using varargs, because otherwise the async framework wouldn't work with 
> it.

That looks really cool! Go ahead and commit it. I'd also like a version
of this that acts on a uri rather than an open file handle too but I can
just adapt your patch to make it do that later.

Ian

Attachment: signature.asc
Description: This is a digitally signed message part



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