Files
event-handler/include/config.h

28 lines
520 B
C

#pragma once
#define LED_BLINK_TRIGGER_DISABLED 101
/**
* @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);
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;