Added a new open_from() call.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4704 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-09-16 02:28:50 +00:00
parent 69a8a40770
commit ad1b3319c5

View File

@ -71,6 +71,7 @@ class ConsoleNode : public Node {
virtual ssize_t Write(const void *buffer, size_t bufferSize);
};
/** The root file system */
extern Directory *gRoot;
extern "C" {
@ -83,6 +84,7 @@ extern status_t add_partitions_for(int fd);
#ifdef __cplusplus
// this function is only available in C++
extern int open_node(Node *node, int mode);
extern int open_from(Directory *directory, const char *path, int mode);
}
#endif