X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Foptions.h;h=839bc4d38a8a53d09e55df2a23a2f8b2f10e8963;hb=66df642416e00b7f5a84e14c001ce03dfd1930ea;hp=a15e14a5e693f74fb06d5bd461b6a19e7a2580b1;hpb=519940987ceb9e379c91645daba84dc87680ffb8;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index a15e14a..839bc4d 100644 --- a/server/options.h +++ b/server/options.h @@ -1,6 +1,6 @@ /** * @file options.h - * @purpose Define the Options structure and the g_options variable + * @brief Define the Options structure and the g_options variable */ #ifndef _OPTIONS_H @@ -19,6 +19,20 @@ typedef struct /** Time at which program exits **/ struct timeval end_time; + /** 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; + + + } Options; /** The only instance of the Options struct **/