|
|
| version 1.16, 2007/02/01 19:02:45 | version 1.17, 2007/02/01 19:10:50 |
|---|---|
| Line 118 static int mlog_main_exit_code = -1; | Line 118 static int mlog_main_exit_code = -1; |
| static rv_t mlog_main_exit_return = RV_NONE; | static rv_t mlog_main_exit_return = RV_NONE; |
| static rv_t mlog_main_exit_hint = RV_NONE; | static rv_t mlog_main_exit_hint = RV_NONE; |
| bool_t | void |
| mlog_init1( intgen_t argc, char *argv[ ] ) | mlog_init0( void ) |
| { | { |
| char **suboptstrs; | int i; |
| ix_t ssix; | |
| ix_t soix; | |
| size_t vsymcnt; | |
| intgen_t c; | |
| #ifdef DUMP | #ifdef DUMP |
| mlog_fp = stderr; | mlog_fp = stderr; |
| #endif /* DUMP */ | #endif /* DUMP */ |
| #ifdef RESTORE | #ifdef RESTORE |
| mlog_fp = stdout; | mlog_fp = stdout; |
| #endif /* RESTORE */ | #endif /* RESTORE */ |
| /* initialize stream count. will be updated later by call to | /* initialize stream count. will be updated later by call to |
| Line 139 mlog_init1( intgen_t argc, char *argv[ ] | Line 135 mlog_init1( intgen_t argc, char *argv[ ] |
| */ | */ |
| mlog_streamcnt = 1; | mlog_streamcnt = 1; |
| for( i = 0 ; i < MLOG_SS_CNT ; i++ ) { | |
| mlog_level_ss[ i ] = MLOG_VERBOSE; | |
| } | |
| } | |
| bool_t | |
| mlog_init1( intgen_t argc, char *argv[ ] ) | |
| { | |
| char **suboptstrs; | |
| ix_t ssix; | |
| ix_t soix; | |
| size_t vsymcnt; | |
| intgen_t c; | |
| /* prepare an array of suboption token strings. this will be the | /* prepare an array of suboption token strings. this will be the |
| * concatenation of the subsystem names with the verbosity symbols. | * concatenation of the subsystem names with the verbosity symbols. |
| * this array of char pts must be null terminated for getsubopt( 3 ). | * this array of char pts must be null terminated for getsubopt( 3 ). |