[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ethereal-dev
Subject:    Re: [ethereal-dev] Socks dissector
From:       Guy Harris <guy () netapp ! com>
Date:       2000-02-22 22:52:04
[Download RAW message or body]

> 1) Is there a method to re-initialize a dissector ?

Yes.

Create a routine that takes no arguments and returns no errors, e.g. 
"static void socks_reinit(void)", and, in the register routine for the
dissector, do

	register_init_routine(&socks_reinit);

That routine will be called when a new capture is opened (either as a
file to be read, or as a live capture file).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic