X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=server%2Foptions.h;h=839bc4d38a8a53d09e55df2a23a2f8b2f10e8963;hb=2ca86f48743a695437aebd7ebe1304118e5bc4bf;hp=f702e010bf1799beba84b534f355efb188ea461a;hpb=6ed8c8a41104d50a699c20c5310a61656fb593e4;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index f702e01..839bc4d 100644 --- a/server/options.h +++ b/server/options.h @@ -19,13 +19,19 @@ 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; - /*** Horrible horrible hack ***/ - int argc; - /*** Horrible horrible hack ***/ - char ** argv; + /** Base DN for LDAP authentication **/ + const char * ldap_base_dn; + + /** Authentication method **/ + enum {AUTH_NONE, AUTH_LDAP, AUTH_SHADOW} auth_method; + + } Options;