summaryrefslogtreecommitdiff
path: root/usr.bin/mg/key.h
blob: 6e5a95c483732504bf77ff6ea6eac438295e1574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*	$OpenBSD: key.h,v 1.3 2001/01/29 01:58:07 niklas Exp $	*/

/* key.h: Insert file for mg 2 functions that need to reference key pressed */

#ifndef EXTERN
#define EXTERN	extern
#endif

#define MAXKEY	8			/* maximum number of prefix chars */

EXTERN struct {				/* the chacter sequence in a key  */
	int	k_count;		/* number of chars		  */
	KCHAR	k_chars[MAXKEY];	/* chars			  */
} key;
#undef	EXTERN