1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef TELINIT_H #define TELINIT_H #include "config.h" #define INITSOCK SOCKDIR "/" "initd.socket" enum { TI_SHUTDOWN = 1, TI_REBOOT = 2, }; typedef struct { int type; } ti_msg_t; int opensock(void); #endif /* TELINIT_H */