Commit ba09355f authored by Matteo Quintiliani's avatar Matteo Quintiliani

Adapted call for nmxp_log() and modified means of option -v


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@472 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 599989ac
This diff is collapsed.
......@@ -355,11 +355,7 @@ int nmxptool_ew_proc_configfile (char * configfile, NMXPTOOL_PARAMS *params) {
}
else if (k_its ("Verbosity")) {
if(k_int() != 0) {
params->flag_verbose = 1;
} else {
params->flag_verbose = 0;
}
params->verbose_level = k_int();
}
else if (k_its ("NmxpHost")) {
......
This diff is collapsed.
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool_getoptlong.h,v 1.20 2007-11-21 11:04:56 mtheo Exp $
* $Id: nmxptool_getoptlong.h,v 1.21 2007-11-22 11:13:05 mtheo Exp $
*
*/
......@@ -43,6 +43,8 @@
#define DEFAULT_TIMEOUTRECV_MINIMUM 10
#define DEFAULT_TIMEOUTRECV_MAXIMUM 300
#define DEFAULT_VERBOSE_LEVEL NMXP_LOG_D_NULL
/*! \brief Struct that stores information about parameter of the program */
typedef struct {
......@@ -63,9 +65,9 @@ typedef struct {
int32_t delay;
int32_t max_tolerable_latency;
int32_t timeoutrecv;
int32_t verbose_level;
char *ew_configuration_file;
int flag_writeseed;
int flag_verbose;
int flag_listchannels;
int flag_request_channelinfo;
int flag_writefile;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment