Commit graph

78 commits

Author SHA1 Message Date
Gerald Combs
8142f2c993 Add range_convert_range and ranges_are_equal.
svn path=/trunk/; revision=12303
2004-10-15 15:08:00 +00:00
Guy Harris
981c68cd51 From Lars Roland: don't link EXTRA_OBJECTS unnecessarily with
ethereal.exe, tethereal.exe and dftest.exe.  Export mkstemp() from
libethereal.dll instead.

svn path=/trunk/; revision=12181
2004-10-02 01:54:35 +00:00
Guy Harris
c351c2c4e0 Export "sminmpec_values[]" from libethereal, for the (future) benefit of
plugins ("future" because that depends on plugins linking with
libethereal.lib, which isn't yet the only way to build plugins).

svn path=/trunk/; revision=12161
2004-09-30 21:11:08 +00:00
Guy Harris
bd2d4088e2 From Tomas Kukosa: export ether_to_str() from libethereal.dll.
svn path=/trunk/; revision=12094
2004-09-25 07:43:12 +00:00
Guy Harris
55d15a436b Add proto_tree_add_debug_text(), rtcp_add_address(), and
rtp_add_address() to the list of functions exported from libethereal.dll
and exported via the plugin function table.

svn path=/trunk/; revision=12067
2004-09-23 07:32:16 +00:00
Guy Harris
56f95db6b4 Export the "proto_tree_add_float" routines, and the routines to get IEEE
float and double values from a tvbuff.

svn path=/trunk/; revision=12018
2004-09-16 19:32:09 +00:00
Guy Harris
0f66112c84 From Dave Richards: export "host_ip_af()" (it's used by
"get_conn_cfilter()").

svn path=/trunk/; revision=11974
2004-09-11 23:26:19 +00:00
Guy Harris
5c3332c497 From Dave Richards: remove from libethereal.def some routines from
util.c, as util.c is no longer part of libethereal.

Update his e-mail address (I'm presuming it's the same person - Comcast
bought AT&T Broadband, so the domain name change makes sense).

svn path=/trunk/; revision=11967
2004-09-11 22:08:29 +00:00
Guy Harris
3c66466029 Add the new "proto_registrar_dump_values()" routine, as it's used by
Ethereal and Tethereal to handle "-G values".

svn path=/trunk/; revision=11957
2004-09-10 22:55:22 +00:00
Ulf Lamping
26afcbd9cc First working implementation of "Decode As" for DCE-RPC interface bindings. Ethereal needs to capture the DCE-RPC bind sequence, to get a relationsship between the interface UUID and the current conversation. If this binding wasn't captured, one can use "Decode As" and choose the interface from a list corresponding to a specific conversation. Currently "only" implemented for connectionoriented (TCP) DCE-RPC, but connectionless is a work in progress.
svn path=/trunk/; revision=11924
2004-09-07 16:19:56 +00:00
Ulf Lamping
7125550f19 rename add_conv_to_dcerpc_bind_table to dcerpc_add_conv_to_bind_table and don't use packet_info as a parameter
svn path=/trunk/; revision=11916
2004-09-06 19:51:33 +00:00
Guy Harris
f06c1b5fb0 The packet range stuff knows about capture_file structures, so it's
really more of an Ethereal/Tethereal component than a libethereal
component (nothing else in libethereal knows about capture files); move
it back out of libethereal.  (The range stuff doesn't; we leave it in
libethereal.)

svn path=/trunk/; revision=11898
2004-09-04 20:02:11 +00:00
Guy Harris
3c7631aa32 Split the pure range stuff out into separate files, exporting their own
functions.

svn path=/trunk/; revision=11892
2004-09-04 01:32:13 +00:00
Guy Harris
478ba9a691 Rename "range.c" and "range.h" to "packet-range.c" and "packet-range.h";
they should ultimately be split into files with routines that handle
ranges, which are just subsets of [0,2^32), and packet ranges, which are
subsets of the packet list, possibly specified by a range.

Move them into epan, so they can be used by, for example, utilities that
handle ranges, such editcap.

svn path=/trunk/; revision=11890
2004-09-04 00:53:16 +00:00
Guy Harris
3481780eea From Lars Roland: add "tvb_get_ntoh64()" to the list of routines
callable from plugins and the list of routines exported from
libethereal.dll.

Do the same for "tvb_get_letoh64()".

svn path=/trunk/; revision=11825
2004-08-25 03:29:54 +00:00
Gerald Combs
2875ddd269 Move convert_string_to_hex() and convert_string_case() from gtk/find_dlg.c
to epan/strutil.c

svn path=/trunk/; revision=11733
2004-08-13 02:39:49 +00:00
Olivier Biot
a11651260b From Lars Roland: With this patch print.(c/h) and ps.(c/h) don't belong to
the DISSECTOR_SUPPORT_xy files any longer and as a consequence they 
won't be linked into libethereal.

svn path=/trunk/; revision=11559
2004-07-29 00:11:14 +00:00
Olivier Biot
21cb72b093 Partial fix after some files being moved between directories.
There is still a problem with MSVC builds as 3 objects get built twice (once
at the top level, and once in epan: xmlstub.obj, print.obj and ps.obj).

This fix allows to compile again with MSVC if debug symbols are NOT enabled
while building Ethereal.  Do this by editing config.nmake and replacing
"LOCAL_LDFLAGS=/DEBUG" with "LOCAL_LDFLAGS=". In other words: Ethereal CANNOT
be built right now with debug symbols in the object code, for MSVC builds.

svn path=/trunk/; revision=11557
2004-07-28 22:41:19 +00:00
Ulf Lamping
c54fcb2c02 removed print_packet_header, as it seems to be no longer used/available and will result in a link error
svn path=/trunk/; revision=11552
2004-07-28 16:48:58 +00:00
Gerald Combs
59be185931 From Anders Broman: Update libethereal.def to match recent changes in print.c.
svn path=/trunk/; revision=11525
2004-07-26 14:11:28 +00:00
Gerald Combs
e7eaa72a89 Add more entries.
svn path=/trunk/; revision=11350
2004-07-09 18:42:35 +00:00
Guy Harris
6feb4e2751 Add "crc16_ccitt_tvb()" to the plugin API and the list of functions
exported from libethereal.dll.

svn path=/trunk/; revision=11280
2004-06-30 08:22:56 +00:00
Guy Harris
b93965db56 From Dennis Lim: add routines used by dissectors for ONC RPC protocols
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
2004-06-19 10:13:52 +00:00
Gerald Combs
e458d288cf From Lars Roland: Add have_tap_listeners() and rtp_payload_type_vals
to libethereal.def.

svn path=/trunk/; revision=11092
2004-06-03 16:29:39 +00:00
Guy Harris
d346faf38a From Gisle Vanem: export more functions from libethereal, as they're
needed by Ethereal itself.

svn path=/trunk/; revision=10956
2004-05-22 08:12:33 +00:00
Guy Harris
f3a8b09eac From Gisle Vanem: export dfilter_dump from libethereal for the benefit
of dftest.

svn path=/trunk/; revision=10908
2004-05-15 21:57:52 +00:00
Guy Harris
cb6f40213b From Lars Roland: fix some MSVC build problems.
svn path=/trunk/; revision=10835
2004-05-09 18:54:00 +00:00
Guy Harris
15af0f656f From Lars Roland: add support for building a libethereal.dll with MSVC:
add a config.nmake option to control whether to build
	libethereal.dll or not;

	remove "./wiretap" from PATH to prevent problems due to
	wrongly-loaded files;

	build dissector.lib with MSVC;

	move "print.c" and "ps.c" to the dissector helpers, as "print.c"
	imports variables from packet-frame.c and packet-data.c, which
	are in libethereal;

	move "g711.c" out of the dissector helpers, as they're used only
	by Ethereal in a tap, not in Tethereal or in any dissector;

	add a .def file for libethereal;

	arrange to declare global variables exported from libethereal
	with "__declspec(dllimport)" when building programs that import
	those variables;

	update the NSIS installer.

Make the "configure" script define ETH_VAR_IMPORT as "extern".

svn path=/trunk/; revision=10834
2004-05-09 10:03:41 +00:00