Commit | Line | Data |
---|---|---|
800ffe89 NW |
1 | /* |
2 | * prototypes | |
3 | */ | |
4 | ||
5 | /* from init.c: */ | |
6 | void main(int, char **); | |
7 | ||
8 | void sig_tstp(int); | |
9 | void sig_term(int); | |
10 | void sig_hup(int); | |
11 | void sig_alrm(int); | |
12 | #ifdef DEBUG | |
13 | void sig_usr1(int); | |
14 | void sig_usr2(int); | |
15 | #endif | |
16 | #if defined (UNTRUSTED) && !defined (TESTRUN) | |
17 | void sig_int(int); | |
18 | #endif | |
19 | #ifdef CONFIGURE | |
20 | void sig_ttin(int); | |
21 | #endif | |
22 | ||
23 | void singleuser(void); | |
24 | void single2multi(void); | |
25 | void waitforboot(void); | |
26 | void multiuser(void); | |
27 | void multi2single(void); | |
28 | ||
29 | void callout(unsigned int, retr_t, void *); | |
30 | void allocate_callout(void); | |
31 | void clear_callout(void); | |
32 | void do_callout(void); | |
33 | void signalsforchile(void); | |
34 | void no_autoboot(void); | |
35 | ||
36 | ||
37 | /* from ttytab.c: */ | |
38 | ttytab_t *free_tty(ttytab_t *, ttytab_t *); | |
39 | #ifdef _TTYENT_H_ | |
40 | ttytab_t *ent_to_tab(const struct ttyent *, ttytab_t *, ttytab_t *, int); | |
41 | #endif | |
42 | int argv_changed(const char *, const char **); | |
43 | char **string_to_argv(const char *, int *, char **); | |
44 | int do_getty(ttytab_t *, int); | |
45 | ||
46 | ||
47 | /* from configure.c: */ | |
48 | #ifdef CONFIGURE | |
49 | void configure(char *); | |
50 | void getconf(void); | |
51 | void setconf(void); | |
52 | void checkconf(void); | |
53 | #endif | |
54 | ||
55 | ||
56 | /* from utils.c: */ | |
57 | void iputenv(const char *, const char *); | |
58 | void Debug(int, const char *, ...); | |
59 | int strCcmp(char *, char *); | |
60 | char *newstring(const char *); | |
61 | long str2u(const char *); | |
62 | ||
63 | ||
64 | #ifdef TESTRUN | |
65 | /* from fake_syslog.c: */ | |
66 | void openlog(); | |
67 | void syslog(int, const char *, ...); | |
68 | void vsyslog(int, const char *, va_list); | |
69 | void closelog(void); | |
70 | #endif /* TESTRUN */ |