Wireshark-dev: Re: [Wireshark-dev] Exposing KRB5 value_strings to other dissectors ...
From: Stephen Fisher <[email protected]>
Date: Tue, 03 Jul 2012 09:22:40 -0600
---- On Tue, 03 Jul 2012 08:45:46 -0600 Richard Sharpe  wrote ---- 

>There are protocols that specify the use of KRB5 specified values. Eg,
>NegoEx specifies RFC3961 strings.
>
>Rather than simply re-entering these values it would be useful to
>reuse the existing value_string variables, but they are static ...

Move them to a separate header file (without the static identifier) and include that in each dissector source file.  Take a look at packet-x11-keysym.h for an example of sharing a value string, which is used by packet-x11.c and packet-vnc.c.