aboutsummaryrefslogtreecommitdiff
path: root/environ.h
blob: 2aaaebfe89e0f5909759ee80b2d1d16044c65802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _ENVIRON_H
#define _ENVIRON_H

#include <stdint.h>

typedef struct environ {
	char *tg_api;
	char *tg_chat_raw;
	int64_t tg_chat;
	uint32_t tg_admin;
	char *tg_link_fmt;
	char *rcon_host;
	char *rcon_port;
	char *rcon_passwd;
	int *rcon_sd;
} Environ;

int environ_read(Environ *out);

#endif // _ENVIRON_H