Age | Commit message (Collapse) | Author | Files | Lines |
|
GLib 1.2[.x].
svn path=/trunk/; revision=16412
|
|
include fails as we don't do -Iwiretap.
If we have it, include <sys/stat.h> in epan/filesystem.c - we need it
for stat() and the macros and structures it uses.
svn path=/trunk/; revision=16410
|
|
necessary for the switch to GTK 2.6 (at least on WIN32).
to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place.
deleted related things from config.h.win32
As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon.
svn path=/trunk/; revision=16403
|
|
sprintf -> g_snprintf
snprintf -> g_snprintf
vsnprintf -> g_vsnprintf
strdup -> g_strdup
svn path=/trunk/; revision=15412
|
|
-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
|
|
TODO:
cleanup files in /trunk/plugins
svn path=/trunk/; revision=13782
|
|
it serves the same purpose as the register routine in a built-in
dissector, and don't require all dissectors to have one, as they might
just be taps.
Get rid of the stats tree's init routine, as it's just a tap, and as it
doesn't do anything.
Update the idl2eth Python script to generate plugins with register routines.
svn path=/trunk/; revision=13644
|
|
declared in "epan.h", and, as "epan/plugins.c" now includes
"report_err.h", it doesn't need to include "epan.h".
svn path=/trunk/; revision=13634
|
|
plugins.c:236: warning: implicit declaration of function
'report_failure'
svn path=/trunk/; revision=13625
|
|
svn path=/trunk/; revision=13622
|
|
Introduce a new init routine for plugins,
which does not take the plugin api table as an
argument and allows etheral to distinguish
between plugins using the old and the new api.
Update README.plugins accordingly
Change all g_warnings() in epan/plugins.c to report_failue().
On windows we do not have a log console open while
loading the plugins, because a log console cannot be opened before the prefs have been read. Thus g_warnings()
does not work for reporting problems with plugins.
svn path=/trunk/; revision=13596
|
|
add infrastructure for them, and display the plugin type (which could be
both dissector *and* tap) in the list of plugins.
svn path=/trunk/; revision=13543
|
|
asn1.[ch]
follow.[ch]
ptvcursor.[ch]
reassemble.[ch]
xmlstub.[ch]
fix #include statements accordingly.
svn path=/trunk/; revision=13366
|
|
svn path=/trunk/; revision=13010
|
|
type of variable and assign the value; that squelches "dereferencing
type-punned pointer will break strict-aliasing rules" warnings from some
versions of GCC.
svn path=/trunk/; revision=12924
|
|
does "get_plugins_pers_dir()" - and "get_plugins_global_dir()" doesn't
return one either. Both of them return mallocated data, and making them
return a "const char *" just causes compiler whining when you try to
free them.
svn path=/trunk/; revision=12883
|
|
svn path=/trunk/; revision=12128
|
|
svn path=/trunk/; revision=12127
|
|
svn path=/trunk/; revision=12117
|
|
svn path=/trunk/; revision=12115
|
|
rtp_add_address() to the list of functions exported from libethereal.dll
and exported via the plugin function table.
svn path=/trunk/; revision=12067
|
|
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is.
svn path=/trunk/; revision=11972
|
|
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.
Adjust #include lines in files that include packet-*.h
files.
svn path=/trunk/; revision=11410
|
|
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
|
|
exported from libethereal.dll.
svn path=/trunk/; revision=11280
|
|
to the plugin API.
Add them to the list of routines exported from the libethereal DLL on
Windows as well.
svn path=/trunk/; revision=11186
|
|
svn path=/trunk/; revision=10938
|
|
on Windows or UN*X - don't #ifdef it.
Clean up the #ifdefs in "get_plugins_global_dir()".
Clean up white space.
svn path=/trunk/; revision=10931
|
|
put this and some other dirs in the about dialog
svn path=/trunk/; revision=10928
|
|
svn path=/trunk/; revision=10295
|
|
"report_read_failure()".
svn path=/trunk/; revision=10166
|
|
svn path=/trunk/; revision=9553
|
|
Remove the internal packet-per.c functions
"dissect_per_length_determinant()" and
"dissect_per_normally_small_nonnegative_whole_number()" from the
plugin API, as they shouldn't be used outside the PER dissector.
Remove the H.225/H.245 functions
"dissect_h225_TransportAddress()" and
"dissect_h245_NonStandardParameter()" from the plugin API until
we really need them in plugins.
Add the string dissector table functions to the plugin API.
svn path=/trunk/; revision=8532
|
|
svn path=/trunk/; revision=8252
|
|
move the initialization of the addresses in the plugin interface
structure from run-time to link time;
don't attempt to rebuild the X* files automatically, just warn
that they're out of date and show the command used to rebuild
them (not everybody has GCC installed, but it's required in
order to rebuild them).
Get rid of the checked-in Xepan_plugins.c, as it's no longer generated
or used.
Fix Makefile.am now that Xepan_plugins.c has been replaced by Xass-list.
Give plugin_gen.py an RCS ID.
svn path=/trunk/; revision=8186
|
|
plugin ABI from a single file.
svn path=/trunk/; revision=8038
|
|
svn path=/trunk/; revision=7862
|
|
#ifdefs.
svn path=/trunk/; revision=7775
|
|
remove the Start menu entries and desktop icon.
svn path=/trunk/; revision=7772
|
|
macros, and do export "except_pop()" and "except_setup_try()".
svn path=/trunk/; revision=7628
|
|
"asn1_string_decode()", not to "asn1_octet_string_decode()".
svn path=/trunk/; revision=7624
|
|
function name; make it so.
Eliminate the duplicate entry for "except_throw" and the duplicate code
for it.
svn path=/trunk/; revision=7618
|
|
plugins on platforms on which plugins need to use the table of functions
exported to plugins.
svn path=/trunk/; revision=7611
|
|
given a tvbuff/offset pair referring to the byte past the end of the
item. Use it in one place in the SMB dissector (there are plenty of
other places where it could be used as well).
svn path=/trunk/; revision=7603
|
|
exported to dissectors.
svn path=/trunk/; revision=7552
|
|
plugins.
svn path=/trunk/; revision=7423
|
|
MGCP request/response matching and
MGCPSTAT RTT calculation.
For those with MGCP captures, try
-z mgcp,rtd[,filter]
svn path=/trunk/; revision=7294
|
|
be installed - don't explicitly search
"/usr/lib/ethereal/plugins/{version}" or
"/usr/local/lib/ethereal/plugins/{version}", so that if there's more
than one version of Ethereal installed, we don't end up picking up
plugins from the wrong version.
svn path=/trunk/; revision=6766
|
|
big table of functions - we don't use the preferences code, we just
export routines from it.
There is, however, a need to include "reassemble.h" if we're doing so,
as some of the functions we export take a "fragment_data *" as an
argument, and "fragment_data" is defined in "reassemble.h".
The members of "patable" should be set to point to functions, and
"p_prefs_register_obsolete_preference" isn't a function -
"prefs_register_obsolete_preference" is.
Get rid of extra white space at the ends of lines.
svn path=/trunk/; revision=6648
|
|
svn path=/trunk/; revision=6630
|