[BACK]Return to key.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Annotation of src/usr.bin/mg/key.h, Revision 1.2

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