Added periodic thread (reloads item config, checks coke slots)
[tpg/opendispense2.git] / src / server / common.h
index 3c117d6..34361b9 100644 (file)
@@ -73,6 +73,7 @@ extern int    giDebugLevel;
 
 // === FUNCTIONS ===
 // --- Helpers --
+extern void    AddPeriodicFunction(void (*Fcn)(void));
 extern void    CompileRegex(regex_t *Regex, const char *Pattern, int Flags);
 extern int     RunRegex(regex_t *regex, const char *string, int nMatches, regmatch_t *matches, const char *errorMessage);
 extern int     InitSerial(const char *Path, int BaudRate);

UCC git Repository :: git.ucc.asn.au