X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Foptions.h;h=88496cc7a919d3bd6a369bc0164d0edb66b40060;hb=3521cee9644bd955fd053c5b4ea173efd1e78fe8;hp=385a05baa972d3bfaca43af4fed086d21d6428db;hpb=cf4f872e4a4d739408bd2f0d71887d27ebe598c9;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index 385a05b..88496cc 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; @@ -25,11 +25,11 @@ 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; + enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW, AUTH_MYSQL} auth_method; /** Experiments directory **/ const char *experiment_dir;