aboutsummaryrefslogtreecommitdiffstats
path: root/disabled_protos.c
AgeCommit message (Collapse)AuthorFilesLines
2005-08-08various code cleanup:Ulf Lamping1-2/+1
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants svn path=/trunk/; revision=15264
2005-07-23More 'char*' -> 'const char*' changes to fix warnings.Jörg Mayer1-5/+6
svn path=/trunk/; revision=15015
2005-07-19from Graeme Hewson: "Fixes for ethereal config files"Ulf Lamping1-1/+1
svn path=/trunk/; revision=14956
2005-03-24Plug some more small leaks.Guy Harris1-2/+4
svn path=/trunk/; revision=13889
2004-09-11Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;Guy Harris1-1/+1
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is. svn path=/trunk/; revision=11972
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-01-03Apply the patches from Tadaaki Nagao for a global version of disabledRichard Sharpe1-57/+103
protocols ... svn path=/trunk/; revision=9538
2003-11-16Export "protocol_t" as an opaque type.Guy Harris1-2/+4
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()" take a "protocol_t *" as an argument, so they don't have to look up the "protocol_t" - this will probably speed them up considerably, and they're called on almost every dissector handoff. Get rid of a number of "proto_is_protocol_enabled()" calls that aren't necessary (dissectors called through handles, including those called through dissector tables, or called as heuristic dissectors, aren't even called if their protocol isn't enabled). Change some direct dissector calls to go through handles. svn path=/trunk/; revision=8979
2003-08-07Fix up the handling of end-of-line comments if there's white spaceGuy Harris1-8/+5
between a protocol name and a comment. svn path=/trunk/; revision=8146
2003-08-07From Michael Lum: add the ability to have a preferences file containingGuy Harris1-0/+350
a list of disabled protocols, and to save that list from the Edit > Protocols dialog box. Add checks for read errors in "read_prefs()". Clean up white space. svn path=/trunk/; revision=8144