| Theodore Ts'o | 3839e65 | 1997-04-26 13:21:57 +0000 | [diff] [blame] | 1 | /* std_rqs.c - automatically generated from std_rqs.ct */ |
| 2 | #include <ss/ss.h> |
| 3 | |
| 4 | #ifndef __STDC__ |
| 5 | #define const |
| 6 | #endif |
| 7 | |
| 8 | static char const * const ssu00001[] = { |
| 9 | ".", |
| 10 | (char const *)0 |
| 11 | }; |
| 12 | extern void ss_self_identify __SS_PROTO; |
| 13 | static char const * const ssu00002[] = { |
| 14 | "help", |
| 15 | (char const *)0 |
| 16 | }; |
| 17 | extern void ss_help __SS_PROTO; |
| 18 | static char const * const ssu00003[] = { |
| 19 | "list_help", |
| 20 | "lh", |
| 21 | (char const *)0 |
| 22 | }; |
| 23 | extern void ss_unimplemented __SS_PROTO; |
| 24 | static char const * const ssu00004[] = { |
| 25 | "list_requests", |
| 26 | "lr", |
| 27 | "?", |
| 28 | (char const *)0 |
| 29 | }; |
| 30 | extern void ss_list_requests __SS_PROTO; |
| 31 | static char const * const ssu00005[] = { |
| 32 | "quit", |
| 33 | "q", |
| 34 | (char const *)0 |
| 35 | }; |
| 36 | extern void ss_quit __SS_PROTO; |
| 37 | static char const * const ssu00006[] = { |
| 38 | "abbrev", |
| 39 | "ab", |
| 40 | (char const *)0 |
| 41 | }; |
| 42 | extern void ss_unimplemented __SS_PROTO; |
| 43 | static char const * const ssu00007[] = { |
| 44 | "execute", |
| 45 | "e", |
| 46 | (char const *)0 |
| 47 | }; |
| 48 | extern void ss_unimplemented __SS_PROTO; |
| 49 | static char const * const ssu00008[] = { |
| 50 | "?", |
| 51 | (char const *)0 |
| 52 | }; |
| 53 | extern void ss_unimplemented __SS_PROTO; |
| 54 | static char const * const ssu00009[] = { |
| 55 | "subsystem_name", |
| 56 | (char const *)0 |
| 57 | }; |
| 58 | extern void ss_subsystem_name __SS_PROTO; |
| 59 | static char const * const ssu00010[] = { |
| 60 | "subsystem_version", |
| 61 | (char const *)0 |
| 62 | }; |
| 63 | extern void ss_subsystem_version __SS_PROTO; |
| 64 | static ss_request_entry ssu00011[] = { |
| 65 | { ssu00001, |
| 66 | ss_self_identify, |
| 67 | "Identify the subsystem.", |
| 68 | 3 }, |
| 69 | { ssu00002, |
| 70 | ss_help, |
| 71 | "Display info on command or topic.", |
| 72 | 0 }, |
| 73 | { ssu00003, |
| 74 | ss_unimplemented, |
| 75 | "List topics for which help is available.", |
| 76 | 3 }, |
| 77 | { ssu00004, |
| 78 | ss_list_requests, |
| 79 | "List available commands.", |
| 80 | 0 }, |
| 81 | { ssu00005, |
| 82 | ss_quit, |
| 83 | "Leave the subsystem.", |
| 84 | 0 }, |
| 85 | { ssu00006, |
| 86 | ss_unimplemented, |
| 87 | "Enable/disable abbreviation processing of request lines.", |
| 88 | 3 }, |
| 89 | { ssu00007, |
| 90 | ss_unimplemented, |
| 91 | "Execute a UNIX command line.", |
| 92 | 3 }, |
| 93 | { ssu00008, |
| 94 | ss_unimplemented, |
| 95 | "Produce a list of the most commonly used requests.", |
| 96 | 3 }, |
| 97 | { ssu00009, |
| 98 | ss_subsystem_name, |
| 99 | "Return the name of this subsystem.", |
| 100 | 1 }, |
| 101 | { ssu00010, |
| 102 | ss_subsystem_version, |
| 103 | "Return the version of this subsystem.", |
| 104 | 1 }, |
| 105 | { 0, 0, 0, 0 } |
| 106 | }; |
| 107 | |
| 108 | ss_request_table ss_std_requests = { 2, ssu00011 }; |