Revision 211ce618
Added by Hamish Coleman over 15 years ago
- ID 211ce61879a3f9c4435a2fc90041d58d65c203fd
scm.h | ||
---|---|---|
struct SCM_def {
|
||
char *name;
|
||
char *desc;
|
||
int mode; /* set to SVC_CONSOLE by the *-scm.c code */
|
||
int (*init)(int, char **);
|
||
int (*main)(int);
|
||
int (*stop)(int);
|
Also available in: Unified diff
Move the console mode handling inside the SCM for increased consistancy