event-handler/include/config.h

30 lines
559 B
C

#pragma once
/**
* @brief parse the config file
*
* @param path the path to the config file
*/
void parse_config_file(char *path);
/**
* @brief setup the led formula
*/
void setup_led_formula(void);
/**
* @brief ensure that the config paths are valid
*/
void check_config();
extern char *battery_status_path;
extern char *battery_power_source;
extern char *led_brightness_path;
extern unsigned int led_blink_trigger_level;
extern char *led_blink_timing_formula;
double led_blink_timing_func(int percent);
extern char *acpi_daemon_socket_path;