stamen

Stamen - static menu generator
git clone git://git.dimitrijedobrota.com/stamen.git
Log | Files | Refs | README | LICENSE

shared.h (314B)


      1 #ifndef STAMEN_SHARED_H
      2 #define STAMEN_SHARED_H
      3 
      4 typedef int (*stamen_callback_f)(void);
      5 
      6 typedef struct item_t item_t;
      7 struct item_t {
      8   stamen_callback_f callback;
      9   const char *prompt;
     10 };
     11 
     12 typedef int (*stamen_display_f)(const char *, const item_t[], int);
     13 extern const stamen_display_f stamen_display;
     14 
     15 #endif