diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2013-06-27 19:00:01 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2013-06-27 19:00:01 +0000 |
commit | 99013aefa81f2d3e14d3e063574e6dea4045d0b1 (patch) | |
tree | 2a1e516d3c86aca5690a8725f5f51e276c0f46ac /echld/parent.c | |
parent | 16fc2c5998031c086d05cf5706ab5b5e9e2abaf2 (diff) |
MS: list interfaces!
svn path=/trunk/; revision=50195
Diffstat (limited to 'echld/parent.c')
-rw-r--r-- | echld/parent.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/echld/parent.c b/echld/parent.c index 53028121bb..6496e4f6e8 100644 --- a/echld/parent.c +++ b/echld/parent.c @@ -100,7 +100,7 @@ static void parent_dbg(int level, const char* fmt, ...) { extern void echld_set_parent_dbg_level(int lvl) { (dbg_level = lvl); if (lvl > 6) { - echld_common_set_dbg(lvl,stderr); + echld_common_set_dbg(lvl,stderr,"parent"); } PARENT_DBG((0,"Debug Level Set: %d",lvl)); } @@ -183,7 +183,7 @@ void parent_reaper(int sig) { } /* will initialize epan registering protocols and taps */ -void echld_initialize(echld_encoding_t enc) { +void echld_initialize(echld_encoding_t enc, char* argv0, int (*main)(int, char **)) { int from_disp[2]; int to_disp[2]; @@ -213,7 +213,7 @@ void echld_initialize(echld_encoding_t enc) { #endif /* child code */ echld_cleanup(); - echld_dispatcher_start(to_disp,from_disp); + echld_dispatcher_start(to_disp,from_disp,argv0,main); PARENT_FATAL((SHOULD_HAVE_EXITED_BEFORE,"This shoudln't happen")); } else { /* parent code */ @@ -221,7 +221,7 @@ void echld_initialize(echld_encoding_t enc) { reader_realloc_buf = parent_realloc_buff; #endif - echld_common_set_dbg(9,stderr); + echld_common_set_dbg(9,stderr,"parent"); PARENT_DBG((3,"Dispatcher forked")); |