Use experiment folders instead of chdir
[matches/MCTX3420.git] / server / options.h
index f702e01..385a05b 100644 (file)
@@ -19,14 +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;
 
-       /*** 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;
+
+       /** Experiments directory **/
+       const char *experiment_dir;
 } Options;
 
 /** The only instance of the Options struct **/

UCC git Repository :: git.ucc.asn.au