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