vfs: check userland buffers before reading them.
[haiku.git] / src / tools / fs_shell / external_commands.h
blob8a9649bb8297ffaed481b01b487571fe90b06835
1 /*
2 * Copyright 2005-2007, Ingo Weinhold, bonefish@cs.tu-berlin.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _FSSH_EXTERNAL_COMMANDS_H
6 #define _FSSH_EXTERNAL_COMMANDS_H
9 namespace FSShell {
12 bool get_external_command(char* input, int len);
13 void reply_to_external_command(int result);
14 void external_command_cleanup();
17 } // namespace FSShell
20 #endif // _FSSH_EXTERNAL_COMMANDS_H