/* MaitreTarot. * (C) 2002 Yves Mettier #include typedef enum { ARGS_CONFIG_FILE_NAME, ARGS_PORT, ARGS_UNSET } args_e; typedef struct { gint port; } config_t; extern config_t *config; gint conf_update_with_command_line (config_t * conf, int argc, char **argv); void conf_free (config_t * conf); config_t *config_read (int argc, char **argv); void config_print (config_t * config); #define DEFAULT_CONFIG_SERVER_PORT "2551" #define DEFAULT_CONFIG_STRING "\n" \ "\n" \ " \n" \ " " DEFAULT_CONFIG_SERVER_PORT "\n" \ " \n" \ "" #endif