event-handler/include/config.h
2026-01-07 16:07:07 -05:00

25 lines
480 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);
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;