mirror of
https://github.com/pygos/init.git
synced 2024-07-03 08:20:13 +02:00
9a88f7da45
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
21 lines
234 B
C
21 lines
234 B
C
#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 */
|
|
|