X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Foptions.h;h=385a05baa972d3bfaca43af4fed086d21d6428db;hb=5b98dd1c37a6151e734e8fa3a7054248ae3455c6;hp=0416dd5e80686a390293c7ba8af401700b0da8a3;hpb=d65175a25f5fcc0c63712e5c50adbb1a5ad1bafd;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index 0416dd5..385a05b 100644 --- a/server/options.h +++ b/server/options.h @@ -19,9 +19,20 @@ typedef struct /** Time at which program exits **/ struct timeval end_time; - /** Path to ADC files **/ - char * adc_device_path; + /** Whether or not to enable the pin_test module **/ + bool enable_pin; + + /** URI for authentication **/ + const char * auth_uri; + /** Base DN for LDAP authentication **/ + const char * ldap_base_dn; + + /** Authentication method **/ + enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW} auth_method; + + /** Experiments directory **/ + const char *experiment_dir; } Options; /** The only instance of the Options struct **/