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 #define NOAUTH_USERNAME "_anonymous_noauth"
23 extern void Control_Handler(FCGIContext *context, char *params);
24 extern const char* Control_SetMode(ControlModes desired_mode, void * arg);
25 extern ControlModes Control_GetMode();
26 extern const char * Control_GetModeName();
27 //extern bool Control_Lock();
28 //extern void Control_Unlock();
29 extern const struct timespec* Control_GetStartTime();