aboutsummaryrefslogtreecommitdiff
path: root/lib/include/telinit.h
blob: 72ad871d5f735a3a16195e96d69f449be1656060 (plain)
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 */