aboutsummaryrefslogtreecommitdiffstats
path: root/cputemp2maxfreq.h
diff options
context:
space:
mode:
Diffstat (limited to 'cputemp2maxfreq.h')
-rw-r--r--cputemp2maxfreq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cputemp2maxfreq.h b/cputemp2maxfreq.h
index 39886fd..cda9d4b 100644
--- a/cputemp2maxfreq.h
+++ b/cputemp2maxfreq.h
@@ -32,6 +32,8 @@ struct s_config {
long int freq_step; // Step size to increase/decrease CPU frequency
long int fallback_freq; // CPU frquency to set if we fail to protect hardware
unsigned int interval; // Time interval to check CPU temperature
+ char logger_name[10]; // Name of the logging function
+ void (*logger)(char *,...); // Pointer to the logging function
};
#endif