VirtualBox

source: kBuild/trunk/src/kShell/kShell.h@ 200

Last change on this file since 200 was 44, checked in by bird, 22 years ago

Playing with the shell code.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/* $Id: kShell.h 44 2003-03-28 11:22:18Z bird $
2 *
3 * kShell - Public interface.
4 *
5 * Copyright (c) 2002 knut st. osmundsen <[email protected]>
6 *
7 *
8 * This file is part of kBuild.
9 *
10 * kBuild is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License as published
12 * by the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * kBuild is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with kBuild; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 *
24 */
25
26#ifndef __kShell_h__
27#define __kShell_h__
28
29/*
30 * Return codes.
31 */
32#define KSHELL_ERROR_SYNTAX_ERROR 1700
33#define KSHELL_ERROR_NOT_ENOUGH_MEMORY 1708
34#define KSHELL_ERROR_PROGRAM_NOT_FOUND 1742
35#define KSHELL_ERROR_COMMAND_TOO_LONG 1743
36
37/*
38 * Functions.
39 */
40int kshellInit(int fVerbose);
41void kshellTerm(void);
42int kshellExecute(const char *pszCmd);
43int kshellInteractive(void);
44
45
46#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette