X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Foptions.h;h=839bc4d38a8a53d09e55df2a23a2f8b2f10e8963;hb=7206c183756185eeea99afec12f11506810a0a33;hp=297acf4acfd1c22fbff30356192d9970597ea4ae;hpb=01e621afb7cfbc4b570cac55128f5023798a9ce3;p=matches%2FMCTX3420.git diff --git a/server/options.h b/server/options.h index 297acf4..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 @@ -14,6 +14,24 @@ typedef struct const char * program; /** Determines at what level log messages are shown **/ int verbosity; + /** Time at which program begins to run **/ + struct timeval start_time; + /** 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;