Added kernel private node_monitor.h header.
Moved definition of "struct io_context" from fd.h to vfs.h. Introduced new fs/ directory; some cleanups to come. Added node monitor syscalls. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2479 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef _KERNEL_NODE_MONITOR_H
|
||||
#define _KERNEL_NODE_MONITOR_H
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
|
||||
|
||||
#include <OS.h>
|
||||
|
||||
|
||||
struct io_context;
|
||||
|
||||
// private kernel API
|
||||
extern status_t remove_node_monitors(struct io_context *context);
|
||||
extern status_t node_monitor_init(void);
|
||||
|
||||
// user-space exported calls
|
||||
extern status_t user_stop_notifying(port_id port, uint32 token);
|
||||
extern status_t user_start_watching(dev_t device, ino_t node, uint32 flags,
|
||||
port_id port, uint32 token);
|
||||
extern status_t user_stop_watching(dev_t device, ino_t node, uint32 flags,
|
||||
port_id port, uint32 token);
|
||||
|
||||
#endif /* _KRENEL_NODE_MONITOR_H */
|
||||
Reference in New Issue
Block a user