Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosstorage] || [Date Prev] [02-2002 Date Index] [Date Next] || [Thread Prev] [02-2002 Thread Index] [Thread Next]

[openbeosstorage] Re: Kernel Interface Design

  • From: Keith Poole <keef@xxxxxxxxxxxxxxx>
  • To: openbeosstorage@xxxxxxxxxxxxx
  • Date: Wed, 13 Feb 2002 21:39:49 +0000
These look OK, but we also need a function to pass attribute queries to 
the kernel & method to get updates as the file system changes
        Keith

Mike Lee wrote:

>Hi all
>As all the rest are taken, I'll do the attr stuff. As these have not yet
>been included with the NewOS VFS, I&#8217;ve take a stab in the dark (below), 
>if
>you have any suggestions, let me know.
>Thanks, 
>       Mike
>
>ssize_t read_attr ( int fd, const char *attribute, uint32 type, 
>                   off_t pos, void *buf, size_t count );
>
>ssize_t write_attr ( int fd, const char *attribute, uint32 type, 
>                    off_t pos, const void *buf, size_t count );
>
>int remove_attr ( int fd, const char *attr );
>
>void open_attr_dir ( int fd, void **cookie );
>
>int close_attr_dir ( void *cookie );
>
>void read_attr_dir( void *cookie, dirent **buf );
>
>void rewind_attr_dir( void *cookie );
>
>int stat_attr( int fd, const char *name, struct attr_info *ai );
>







[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.