Files
haiku-beta6/headers/private/kernel/fs/node_monitor.h
T

34 lines
800 B
C
Raw Normal View History

2003-01-18 14:04:22 +00:00
#ifndef _KERNEL_NODE_MONITOR_H
#define _KERNEL_NODE_MONITOR_H
/*
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
2003-01-18 14:04:22 +00:00
** Distributed under the terms of the OpenBeOS License.
*/
#include <OS.h>
struct io_context;
2003-10-17 14:42:45 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2003-01-18 14:04:22 +00:00
// 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,
2003-01-18 14:04:22 +00:00
port_id port, uint32 token);
extern status_t _user_stop_watching(dev_t device, ino_t node, uint32 flags,
2003-01-18 14:04:22 +00:00
port_id port, uint32 token);
2003-10-17 14:42:45 +00:00
#ifdef __cplusplus
}
#endif
2003-01-18 14:04:22 +00:00
#endif /* _KRENEL_NODE_MONITOR_H */