Work on Authentication System(s)
[matches/MCTX3420.git] / server / control.c
index 5c8a410..4b4a1e6 100644 (file)
@@ -15,7 +15,8 @@ typedef struct ControlData {
 
 ControlData g_controls = {CONTROL_STOP, PTHREAD_MUTEX_INITIALIZER, {0}};
 
-static bool PathExists(const char *path) {
+bool PathExists(const char *path) 
+{
        FILE *fp = fopen(path, "r");
        if (fp) {
                fclose(fp);
@@ -177,4 +178,4 @@ const char * Control_GetModeName() {
  */
 const struct timeval* Control_GetStartTime() {
        return &g_controls.start_time;
-}
\ No newline at end of file
+}

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