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