guy 2004/05/23 21:25:20 CDT
Modified files:
. packet-ansi_a.c packet-bgp.c
packet-bssap.c packet-clnp.c packet-fr.c
packet-ieee80211.c packet-iscsi.c
packet-lmp.c packet-m2pa.c packet-m2ua.c
packet-m3ua.c packet-mtp3.c packet-ndmp.c
packet-ppp.c packet-scsi.c packet-sctp.c
packet-t38.c packet-tcap.c prefs.c
prefs.h
Log:
Have two strings in an enum_val_t - one that's a short string that is
convenient to put into a command line (no capital letters, no spaces to
require quotes), and one that's a detailed description for use in the
UI. Allow either of them in the preferences file or "-o" option; use
the detailed description in the UI, and also use it when writing the
preferences out, so that the preference will be readable by older
versions of Ethereal (assuming the preference existed in that version).
Update "README.developer" to give more detail about an enum_val_t (and
to put the _t in), and to give a more detailed description of the
"radio_buttons" argument to "prefs_register_enum_preference()".
Revision Changes Path
1.17 +8 -8 ethereal/packet-ansi_a.c
1.88 +5 -5 ethereal/packet-bgp.c
1.10 +4 -4 ethereal/packet-bssap.c
1.85 +5 -5 ethereal/packet-clnp.c
1.48 +5 -5 ethereal/packet-fr.c
1.108 +7 -7 ethereal/packet-ieee80211.c
1.50 +7 -7 ethereal/packet-iscsi.c
1.21 +5 -5 ethereal/packet-lmp.c
1.24 +4 -4 ethereal/packet-m2pa.c
1.15 +4 -4 ethereal/packet-m2ua.c
1.40 +6 -6 ethereal/packet-m3ua.c
1.28 +11 -11 ethereal/packet-mtp3.c
1.28 +6 -6 ethereal/packet-ndmp.c
1.119 +5 -5 ethereal/packet-ppp.c
1.38 +4 -4 ethereal/packet-scsi.c
1.72 +6 -6 ethereal/packet-sctp.c
1.7 +5 -5 ethereal/packet-t38.c
1.11 +4 -4 ethereal/packet-tcap.c
1.133 +32 -11 ethereal/prefs.c
1.64 +2 -1 ethereal/prefs.h