Hi all,

I 'm working on 2 plugin dissectors, and I wish to know if it's possible (and 
if yes, how) to reuse preferences from one plugin to another. I need to reuse 
only a part of the preferences (which is an UAT table, so pretty long and 
boring to define) from plugin1 to plugin2, considering that protocol2 is 
included in plugin1 like this:
plugin1
    IP struct
        UDP struct
            plugin2
Can the copy_prefs() function be useful? How must I define the preferences in 
plugin1 to divide it in 2 parts? How to integrate a separated part into 
preferences of plugin2?

Thanks for your help!

Yvan



      
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to