/*----------------------------------------------------- Header for Sample for command line options This class represents the command line for the AnagramGen application. Copyright Fred Smith 2006 All rights reserved Generated by aargh 1.2 Sun Mar 19 11:14:23 2006 -----------------------------------------------------*/ #ifndef SAMPLE_OPTS_H_GUARD #define SAMPLE_OPTS_H_GUARD struct sample_dates_node { struct sample_dates_node * pNext; char * value; }; typedef struct sample_dates_node sample_dates_node; struct multiple_ints_node { struct multiple_ints_node * pNext; unsigned long value; }; typedef struct multiple_ints_node multiple_ints_node; struct Sample { int new_argc; char ** new_argv; int sample_bool; sample_dates_node * sample_dates_list; int sample_dates_found; char * host; int host_found; unsigned long sample_int; int sample_int_found; multiple_ints_node * multiple_ints_list; int multiple_ints_found; unsigned long universe; int universe_found; }; typedef struct Sample Sample; #ifdef __cplusplus extern "C" { #endif int get_sample_opts( int argc, char * argv[], Sample * pOpts ); void clear_Sample( struct Sample * pOpts ); /* Declare validator function(s) */ int val_date( const char * arg ); #ifdef __cplusplus }; #endif #endif