File: ctxt_inf.c

package info (click to toggle)
dosemu-freedos 1%3A0.0.b9r5a%2Betch.1-0etch1
  • links: PTS
  • area: contrib
  • in suites: etch
  • size: 19,744 kB
  • ctags: 23,279
  • sloc: ansic: 143,864; asm: 20,397; makefile: 3,868; perl: 1,106; yacc: 690; sh: 553; pascal: 297; xml: 150; cpp: 67
file content (29 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (2)
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
/* $Id: ctxt_inf.c,v 1.1 2001/04/12 00:33:53 skaus Exp $

	Context status information 

*/

#include "../config.h"

#include "../include/context.h"

ctxt_info_t ctxt_info[] = {
	/* CTXT_TAG_HISTORY */
	{ HISTORY_DEFAULT_SIZE, 0, 0, 0 }
	/* CTXT_TAG_DIRSTACK */
	,{ DIRSTACK_DEFAULT_SIZE, 0, 0, 0 }
	/* CTXT_TAG_BATCH 		-- sizemax is just a hint */
	,{ BATCH_NESTLEVEL_MIN, 0, 0, 0 }
	/* CTXT_TAG_LASTDIR */
	,{ (unsigned)-1, 0, 0, 0 }
	/* CTXT_TAG_SWAPINFO */
	,{ (unsigned)-1, 0, 0, 0 }
/* pseudo entries */
	/* CTXT_TAG_ALIAS */
	,{ ALIAS_DEFAULT_SIZE, 0, 0, 0 }
};

#if sizeof(ctxt_info) / sizeof(ctxt_info_t) != CTXT_TAG_ALIAS - CTXT_FIRST_TAG + 1
#error "Not all tags have an ctxt_info entry"
#endif