Commit Graph

25 Commits

Author SHA1 Message Date
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
Guy Harris d209115ba3 Add a "report_failure()" routine to allow dissectors to report arbitrary
errors to the user.  Use that, rather than "g_warning()", in the
Diameter dissector to report errors reading the dictionary.

Make the format argument to "simple_dialog()" a "const" pointer.

Fix up the read-error message in Tethereal to end with a newline.

If a simple dialog is requested before the main window or the
capture-control window is popped up, queue it up and pop the queued
messages up once the main or capture-control window is displayed.

svn path=/trunk/; revision=10616
2004-04-16 23:17:13 +00:00
Guy Harris d937629449 Update for Tomas Kukosa's new APIs to get the parent and the
nth-grandparent-up for a protocol tree item and to get the last item
created by the BER dissector (that API and the new names for the
universal tags were supplied by him - the checkin item didn't give him
credit).

svn path=/trunk/; revision=10491
2004-03-26 00:01:32 +00:00
Guy Harris a6ed2d499a From Tomas Kukosa: BER dissector enhancements and proto.c updates to
support them.

From Ronnie Sahlberg: Kerberos updates with new constants from the
current draft, decryption and dissection of Kerberos blobs, and changes
to work with the changed BER dissector.

svn path=/trunk/; revision=10479
2004-03-25 09:18:03 +00:00
Guy Harris 36a9a266f4 From Tomas Kukosa: add packet-ber.c routines to the plugin API.
svn path=/trunk/; revision=10295
2004-03-04 07:07:57 +00:00
Guy Harris 711a7cbfa3 Regenerate the files from the latest list of exported functions.
svn path=/trunk/; revision=10154
2004-02-21 02:21:36 +00:00
Guy Harris e6adbf5966 Add "tvb_strsize()".
svn path=/trunk/; revision=10023
2004-02-10 23:30:56 +00:00
Guy Harris 0f159e9f7b From Pierre Juhen: add "find_protocol_by_id()" to the list of functions
exported to plugins.

Fix some author list glitches.

svn path=/trunk/; revision=9789
2004-01-23 00:36:30 +00:00
Guy Harris 30ce42b1e9 Have "dissect_xdlc_control()" take a pointer to a structure containing
pointers to hf_ values, so the subfields of the control field are put
into the protocol tree as filterable items.  Change the protocols that
use it appropriately.

Export "dissect_xdlc_control()" to plugins.

svn path=/trunk/; revision=9531
2004-01-03 03:51:27 +00:00
Guy Harris f549d46c37 From Tomas Kukosa: add "decode_enumerated_bitfield_shifted()", which is
like "decode_enumerated_bitfield()" but handles value_string tables
containing values as they appear in the bitfield rather than as they
appear in the item containing the bitfield.

svn path=/trunk/; revision=9134
2003-12-01 23:42:32 +00:00
Guy Harris 6811485d3b Get rid of the second "col_set_fence()" entry.
svn path=/trunk/; revision=9013
2003-11-18 19:36:02 +00:00
Guy Harris bf31e57829 Add "col_get_writable()", "col_set_writable()", and "col_set_fence()" to
the plugin API list.

svn path=/trunk/; revision=9003
2003-11-18 08:59:03 +00:00
Guy Harris 43d26ce738 Add "asn1_id_decode1()" to the list of exported functions.
svn path=/trunk/; revision=8936
2003-11-11 06:10:57 +00:00
Gerald Combs ef0c23b546 Export get_tempfile_path() to the plugins.
svn path=/trunk/; revision=8863
2003-11-03 02:46:00 +00:00
Guy Harris b70a7d7f1c From Charlie Duke: add more functions to the plugin API.
svn path=/trunk/; revision=8853
2003-11-01 03:10:48 +00:00
Guy Harris ee2ddb83fc Export "get_datafile_path()", not "get_datafile_dir()" - most if not all
dissectors need only the former, which does the pathname-construction
work for you.

svn path=/trunk/; revision=8809
2003-10-28 21:46:26 +00:00
Guy Harris 70afd0c1dd Add "get_datafile_dir()" to the plugin API list, for the benefit of
plugins that might get configuration information from a file.

svn path=/trunk/; revision=8807
2003-10-28 21:03:01 +00:00
Guy Harris 342fa7a1b5 From Tomas Kukosa:
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
2003-09-24 18:35:58 +00:00
Guy Harris 99c609e333 From Tomas Kukosa: export the PER dissection routines, and some
H.225/H.245 routines, to plugins on platforms where they have to go
through the function call table.

svn path=/trunk/; revision=8219
2003-08-23 07:35:50 +00:00
Guy Harris 7e212dd179 Check in Xass-list, so the CVS tree can be built on Windows without
having GCC.

Check in updated versions of the other X* files.

svn path=/trunk/; revision=8187
2003-08-18 20:21:19 +00:00
Guy Harris 1c66a793f3 There's no such function as "delete_giop_user_module()", so don't put it
in the list of exported functions.

svn path=/trunk/; revision=8171
2003-08-16 00:38:28 +00:00
Guy Harris b6aa3275fd As per Bernd Becker's suggestion, add "register_giop_user_module()" and
"delete_giop_user_module()" to the list of exported functions on
platforms where a run-time loaded module can't directly access functions
from the main program.

svn path=/trunk/; revision=8143
2003-08-06 18:16:21 +00:00
Guy Harris c9abf6ddec From Tomas Kukosa: add "find_dissector_table()",
"dissector_get_port_handle()", "dissector_handle_get_short_name()",
"dissector_handle_get_protocol_index()", "new_register_dissector()", and
"new_create_dissector_handle()" to the list of APIs available to
plugins on platforms where plugins have to call core Ethereal routines
through pointers.

"extern"alize the remaining routines in "epan/packet.h".

svn path=/trunk/; revision=8116
2003-07-31 18:34:52 +00:00
Guy Harris bef8e395a8 From Matthijs Melchior: generate all declarations and definitions for
plugin ABI from a single file.

svn path=/trunk/; revision=8038
2003-07-18 03:02:12 +00:00