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