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