3 * @brief Header file for control functions
8 typedef enum ControlModes {
16 /** Invalid filename characters **/
17 #define INVALID_CHARACTERS "\"*/:<>?\\|"
18 /** The same as INVALID_CHARACTERS, except escaped for use in JSON strings **/
19 #define INVALID_CHARACTERS_JSON "\\\"*/:<>?\\\\|"
21 extern void Control_Handler(FCGIContext *context, char *params);
22 extern const char* Control_SetMode(ControlModes desired_mode, void * arg);
23 extern ControlModes Control_GetMode();
24 extern const char * Control_GetModeName();
25 //extern bool Control_Lock();
26 //extern void Control_Unlock();
27 extern const struct timeval* Control_GetStartTime();