haiku/headers/private/kernel/fs/node_monitor.h
Axel Dörfler bb45cbbb30 Removed some unneeded includes, making the header easier to swallow.
Renamed the image and node monitor syscalls to the new scheme.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 20:12:29 +00:00

34 lines
800 B
C

#ifndef _KERNEL_NODE_MONITOR_H
#define _KERNEL_NODE_MONITOR_H
/*
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#include <OS.h>
struct io_context;
#ifdef __cplusplus
extern "C" {
#endif
// 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);
#ifdef __cplusplus
}
#endif
#endif /* _KRENEL_NODE_MONITOR_H */