1 #ifndef _KERNEL_NODE_MONITOR_H 2 #define _KERNEL_NODE_MONITOR_H 3 /* 4 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 5 ** Distributed under the terms of the OpenBeOS License. 6 */ 7 8 9 #include <OS.h> 10 11 12 struct io_context; 13 14 // private kernel API 15 extern status_t remove_node_monitors(struct io_context *context); 16 extern status_t node_monitor_init(void); 17 18 // user-space exported calls 19 extern status_t user_stop_notifying(port_id port, uint32 token); 20 extern status_t user_start_watching(dev_t device, ino_t node, uint32 flags, 21 port_id port, uint32 token); 22 extern status_t user_stop_watching(dev_t device, ino_t node, uint32 flags, 23 port_id port, uint32 token); 24 25 #endif /* _KRENEL_NODE_MONITOR_H */ 26