[openbeosstorage] Re: BDirectory <-> BEntry
- From: Tyler Dauwalder <tyler@xxxxxxxxxxxxx>
- To: openbeosstorage@xxxxxxxxxxxxx
- Date: Tue, 09 Apr 2002 22:00:59 -0700
> I would like to turn StorageKit::Dir from DIR* into
> StorageKit::FileDescriptor or rather directly use file descriptors in
> BEntry/BDirectory. Only the POSIX API uses DIR*, the R5 VFS API
> does not. So it actually does not make much sense to have it in our kernel
> interface.
Well, yes and no. The reason those typedefs are there were to allow us to
change to using file descriptors later without changing the interface code
(excluding the typedefs themselves). But being able to use file descriptors all
around is even better, so I say go ahead and make the switch.
> BEntry::SetTo(const BDirectory *dir, const char *path, bool traverse).
> Since BDirectory::FindEntry() offers the same functionality, I suggest to
> move the actual implementation into the latter. I would do that, as soon
> as I start with the class implementation of BDirectory, which might be
> in a couple days from now.
Yeah, that would make sense. Go for it.
-Tyler
- Follow-Ups:
- [openbeosstorage] Re: BDirectory <-> BEntry
- From: Ingo Weinhold
- [openbeosstorage] Re: BDirectory <-> BEntry
- From: Ingo Weinhold
- References:
- [openbeosstorage] BDirectory <-> BEntry
- From: Ingo Weinhold
Other related posts:
- » [openbeosstorage] BDirectory <-> BEntry
- » [openbeosstorage] Re: BDirectory <-> BEntry
- » [openbeosstorage] Re: BDirectory <-> BEntry
- » [openbeosstorage] Re: BDirectory <-> BEntry
- » [openbeosstorage] Re: BDirectory <-> BEntry
- » [openbeosstorage] Re: BDirectory <-> BEntry
- » [openbeosstorage] Re: BDirectory <-> BEntry
- [openbeosstorage] Re: BDirectory <-> BEntry
- From: Ingo Weinhold
- [openbeosstorage] Re: BDirectory <-> BEntry
- From: Ingo Weinhold
- [openbeosstorage] BDirectory <-> BEntry
- From: Ingo Weinhold