X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Foptions.h;h=0e0b598893a73ae2f9f52f1ee0f3ec0936bf2f90;hb=8c5bba9863ed029b83766d8b4de1195aa38b1f5d;hp=bf668b3f2f05365bbdb7eed73f6da78071a40e5b;hpb=e3e7914fe2f59765e5f92371329652a02518928c;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index bf668b3..0e0b598 100644 --- a/server/options.h +++ b/server/options.h @@ -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; @@ -31,11 +31,8 @@ typedef struct /** Authentication method **/ enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW} auth_method; - /** Starting directory **/ - char root_dir[BUFSIZ]; - - - + /** Experiments directory **/ + const char *experiment_dir; } Options; /** The only instance of the Options struct **/