X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Foptions.h;h=bf668b3f2f05365bbdb7eed73f6da78071a40e5b;hb=f486831f971d51f983a65b734ebd5af2b598d136;hp=0416dd5e80686a390293c7ba8af401700b0da8a3;hpb=8b7f6f32024dee5f15f44e231a48c51fdde1b32f;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index 0416dd5..bf668b3 100644 --- a/server/options.h +++ b/server/options.h @@ -19,8 +19,22 @@ 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; + + /** Starting directory **/ + char root_dir[BUFSIZ]; + + } Options;