summaryrefslogtreecommitdiff
path: root/lib/include/initsock.h
blob: 5c1437c76dd17106076c1063c8ac1bcc687e3d25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: ISC */
#ifndef INITSOCK_H
#define INITSOCK_H

#include "config.h"

#define INIT_SOCK_PATH SOCKDIR "/init.sock"

typedef enum {
	EIR_STATUS = 0x00,
} E_INIT_REQUEST;

typedef struct {
	E_INIT_REQUEST rq;
} init_request_t;

int init_socket_create(void);

int init_socket_open(const char *tmppath);

int init_socket_send_request(int fd, E_INIT_REQUEST rq);

#endif /* INITSOCK_H */