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