vfs: check userland buffers before reading them.
[haiku.git] / src / tools / fs_shell / node_monitor.cpp
blobf15aa9ec37b5eed12e9c29c7800045d9bbdfa07f
1 /*
2 * Copyright 2007, Ingo Weinhold, bonefish@cs.tu-berlin.de.
3 * Distributed under the terms of the MIT License.
4 */
6 #include "fssh_errors.h"
7 #include "fssh_fs_interface.h"
10 fssh_status_t
11 fssh_notify_entry_created(fssh_mount_id device, fssh_vnode_id directory,
12 const char *name, fssh_vnode_id node)
14 return FSSH_B_OK;
18 fssh_status_t
19 fssh_notify_entry_removed(fssh_mount_id device, fssh_vnode_id directory,
20 const char *name, fssh_vnode_id node)
22 return FSSH_B_OK;
26 fssh_status_t
27 fssh_notify_entry_moved(fssh_mount_id device, fssh_vnode_id fromDirectory,
28 const char *fromName, fssh_vnode_id toDirectory, const char *toName,
29 fssh_vnode_id node)
31 return FSSH_B_OK;
35 fssh_status_t
36 fssh_notify_stat_changed(fssh_mount_id device, fssh_vnode_id dir,
37 fssh_vnode_id node, uint32_t statFields)
39 return FSSH_B_OK;
43 fssh_status_t
44 fssh_notify_attribute_changed(fssh_mount_id device, fssh_vnode_id dir,
45 fssh_vnode_id node, const char *attribute, int32_t cause)
47 return FSSH_B_OK;
51 fssh_status_t
52 fssh_notify_query_entry_created(fssh_port_id port, int32_t token,
53 fssh_mount_id device, fssh_vnode_id directory, const char *name,
54 fssh_vnode_id node)
56 return FSSH_B_OK;
60 fssh_status_t
61 fssh_notify_query_entry_removed(fssh_port_id port, int32_t token,
62 fssh_mount_id device, fssh_vnode_id directory, const char *name,
63 fssh_vnode_id node)
65 return FSSH_B_OK;
69 fssh_status_t
70 fssh_notify_query_attr_changed(fssh_port_id port, int32_t token,
71 fssh_mount_id device, fssh_vnode_id directory, const char *name,
72 fssh_vnode_id node)
74 return FSSH_B_OK;