Add usleep to strain.c just in case...
[matches/MCTX3420.git] / server / options.h
index bf668b3..88496cc 100644 (file)
@@ -15,9 +15,9 @@ typedef struct
        /** Determines at what level log messages are shown **/
        int verbosity;
        /** Time at which program begins to run **/
-       struct timeval start_time;
+       struct timespec start_time;
        /** Time at which program exits **/
-       struct timeval end_time;
+       struct timespec end_time;
 
        /** Whether or not to enable the pin_test module **/
        bool enable_pin;
@@ -25,17 +25,14 @@ typedef struct
        /** URI for authentication **/
        const char * auth_uri;
 
-       /** Base DN for LDAP authentication **/
-       const char * ldap_base_dn;
+       /** Additional options for authentication (to be parsed in Login_Handler) **/
+       const char * auth_options;
 
        /** Authentication method **/
-       enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW} auth_method;
-
-       /** Starting directory **/
-       char root_dir[BUFSIZ];
-
-       
+       enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW, AUTH_MYSQL} auth_method;
 
+       /** Experiments directory **/
+       const char *experiment_dir;
 } Options;
 
 /** The only instance of the Options struct **/

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