aruu

[MIRROR] Actual replacement for Busybox | suckless
git clone https://git.daat.foo/aruu.git
Log | Files | Refs | README | LICENSE

commands.h (560B)


      1 #ifndef COMMANDS_H
      2 #define COMMANDS_H
      3 
      4 #define SCREENSIZE_ADAPT 01
      5 #define SCROLLSIZE_ADAPT 02
      6 #define TONEXTFILE       04
      7 #define AHEAD            010
      8 #define BACK             020
      9 #define NEEDS_SCREEN     040
     10 #define TOPREVFILE       0100
     11 #define STICKY           0200
     12 #define NEEDS_COUNT      0400
     13 #define ESC              01000
     14 
     15 extern struct commands {
     16   char *c_cmd;
     17   int   c_flags;
     18   int (*c_func)(long);
     19   char *c_descr;
     20 } commands[];
     21 
     22 int  do_chkm(long cnt);
     23 void do_comm(int command, long count);
     24 int  lookup(char *str);
     25 void wrt_fd(int fd);
     26 
     27 #endif