2 * Copyright 1987, 1988 by MIT Student Information Processing Board
4 * For copyright information, see mit-sipb-copyright.h.
11 #include <ss/mit-sipb-copyright.h>
17 # include <ss/ss_err.h>
24 #define __SS_CONST const
25 #define __SS_PROTO (int, const char * const *, int, void *)
31 typedef __SS_CONST struct _ss_request_entry {
32 __SS_CONST char * __SS_CONST *command_names; /* whatever */
33 void (* __SS_CONST function) __SS_PROTO; /* foo */
34 __SS_CONST char * __SS_CONST info_string; /* NULL */
38 typedef __SS_CONST struct _ss_request_table {
40 ss_request_entry *requests;
43 #define SS_RQT_TBL_V2 2
45 typedef struct _ss_rp_options { /* DEFAULT VALUES */
46 int version; /* SS_RP_V1 */
47 void (*unknown) __SS_PROTO; /* call for unknown command */
54 #define SS_OPT_DONT_LIST 0x0001
55 #define SS_OPT_DONT_SUMMARIZE 0x0002
57 void ss_help __SS_PROTO;
58 char *ss_current_request();
61 void ss_error (int, long, char const *, ...);
62 void ss_perror (int, long, char const *);
67 void ss_abort_subsystem();
68 extern ss_request_table ss_std_requests;