Added add_node_listener() and remove_node_listener() kernel private functions

to watch a node.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24035 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-02-20 16:48:16 +00:00
parent 59312709ae
commit 9448bb6e0b
2 changed files with 33 additions and 6 deletions
+11 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2003-2007, Axel Dörfler, [email protected]. All rights reserved.
* Copyright 2003-2008, Axel Dörfler, [email protected]. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_NODE_MONITOR_H
@@ -12,6 +12,16 @@
struct io_context;
#ifdef __cplusplus
// C++ only part
class NotificationListener;
extern status_t remove_node_listener(dev_t device, dev_t node,
NotificationListener& listener);
extern status_t add_node_listener(dev_t device, dev_t node, uint32 flags,
NotificationListener& listener);
extern "C" {
#endif