forked from liuhaotian/tsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
58 lines (47 loc) · 2.04 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/***************************************************************************
* Title: Configuration file
* -------------------------------------------------------------------------
* Purpose: Configuration file for the simple shell implementation
* Author: Stefan Birrer
* Version: $Revision: 1.2 $
* Last Modification: $Date: 2009/10/11 04:45:50 $
* File: $RCSfile: config.h,v $
* Copyright: (C) 2002 by Stefan Birrer
***************************************************************************/
/***************************************************************************
* ChangeLog:
* -------------------------------------------------------------------------
* $Log: config.h,v $
* Revision 1.2 2009/10/11 04:45:50 npb853
* Changing the identation of the project to be GNU.
*
* Revision 1.1 2005/10/13 05:24:59 sbirrer
* - added the skeleton files
*
* Revision 1.2 2002/10/24 21:32:47 sempi
* final release
*
* Revision 1.1 2002/10/15 20:20:56 sempi
* Milestone 1
*
***************************************************************************/
#ifndef __CONFIG_H__
#define __CONFIG_H__
/************System include***********************************************/
/************Private include**********************************************/
/************Defines and Typedefs*****************************************/
/* #defines and typedefs should have their names in all caps.
* Global variables begin with g. Global constants with k. Local
* variables should be in all lower case. When initializing
* structures and arrays, line everything up in neat columns.
*/
#define bool short
#define TRUE 1
#define FALSE 0
#define SHELLNAME "tsh"
#define MAXLINE 120
/************Global Variables*********************************************/
/************Function Prototypes******************************************/
/************External Declaration*****************************************/
/**************Definition***************************************************/
#endif /* __CONFIG_H__ */