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