MySensors Library & Examples  2.3.2
config.h
1 /*
2  * The MySensors Arduino library handles the wireless radio link and protocol
3  * between your home built sensors/actuators and HA controller of choice.
4  * The sensors forms a self healing radio network with optional repeaters. Each
5  * repeater and gateway builds a routing tables in EEPROM which keeps track of the
6  * network topology allowing messages to be routed to nodes.
7  *
8  * Created by Henrik Ekblad <[email protected]>
9  * Copyright (C) 2013-2019 Sensnology AB
10  * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
11  *
12  * Documentation: http://www.mysensors.org
13  * Support Forum: http://forum.mysensors.org
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * version 2 as published by the Free Software Foundation.
18  */
19 
20 #ifndef CONFIG_H
21 #define CONFIG_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 struct config {
28  int verbose;
29  int log_file;
30  char *log_filepath;
31  int log_pipe;
32  char *log_pipe_file;
33  int syslog;
34  char *eeprom_file;
35  int eeprom_size;
36  char *soft_hmac_key;
37  char *soft_serial_key;
38  char *aes_key;
39 } conf;
40 
41 int config_parse(const char *config_file);
42 void config_cleanup(void);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif
config
Definition: config.h:27