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:
parent
69a8a40770
commit
ad1b3319c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user