Return to key.h CVS log | Up to [local] / src / usr.bin / mg |
1.3 ! niklas 1: /* $OpenBSD$ */ ! 2: 1.1 deraadt 3: /* key.h: Insert file for mg 2 functions that need to reference key pressed */ 4: 5: #ifndef EXTERN 6: #define EXTERN extern 7: #endif 8: 9: #define MAXKEY 8 /* maximum number of prefix chars */ 10: 1.2 millert 11: EXTERN struct { /* the chacter sequence in a key */ 12: int k_count; /* number of chars */ 13: KCHAR k_chars[MAXKEY]; /* chars */ 14: } key; 1.1 deraadt 15: #undef EXTERN