aboutsummaryrefslogtreecommitdiffstats
path: root/clopts_common.c
AgeCommit message (Collapse)AuthorFilesLines
2005-07-23More 'char*' -> 'const char*' changes to fix warnings.Jörg Mayer1-1/+1
svn path=/trunk/; revision=15015
2005-06-13Change read_prefs() to use GStrings instead of (re)allocating memoryGerald Combs1-1/+12
ourselves. This fixes a potential off-by-one error found by Steve Grubb. Add two new -G options: defaultprefs and currentprefs. The first dumps the default preferences to stdout and the second dumps the user's prefs to stdout. svn path=/trunk/; revision=14624
2005-05-27Add a "-G fields3" report which prints the bitmask of the field, and avoidsGilbert Ramirez1-0/+2
printing the blurb twice, like fields2 does. Add a script, fsanity.py, to check sanity of FT definitions. Right now the only check is for bitmasks for integer-like fields. svn path=/trunk/; revision=14454
2005-03-11Add a "-G decodes" option to ethereal and tethereal which shows theGerald Combs1-0/+3
filter/selector/protocol associations for each dissector. This will be used to improve our automated tests, but someone with time on their hands could probably use it to generate a protocol poster using Graphviz. svn path=/trunk/; revision=13721
2005-02-27Move "get_natural_int()" and "get_positive_int()" from "capture_opts.c"Guy Harris1-0/+42
to "clopts_common.c", make them not static, and use them in "gtk/main.c". svn path=/trunk/; revision=13541
2004-09-10Hoist the code for handling "-G" into a common module.Guy Harris1-0/+63
svn path=/trunk/; revision=11956