aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2000-10-06Implement epan_dissect_new() and epan_dissect_free(). These are theGilbert Ramirez4-198/+87
"top-level" dissectors that libepan-users call, instead of dissect_packet(). The epan_dissect_t holds the tvbuff after dissection so that the tvbuff's memory is not cleared until after the proto_tree is freed. (I might stuff the proto_tree into the epan_dissect_t, too). What remains of dissect_packet() in packet.c handles the tvbuff initialiation. The real meat of dissect_packet() is now in dissect_frame(), in packet-frame.c This means that "packet.c" is no longer a dissector, os it is no longer passed to make-reg-dotc. Once dissect_fddi() gets two wrapper functions (dissect_fddi_swapped() and dissect_fddi_nonswapped()), the a dissector handoff routine could be used instead of the switch statement in dissect_frame(). I'd register a field like "wtap.encap" svn path=/trunk/; revision=2478
2000-09-30- HAVE_PLUGINS is defined in plugins.h so it must be included here.Olivier Abad1-1/+2
- get rid of the "epan" argument for init_plugins() svn path=/trunk/; revision=2471
2000-09-30If a line consists *solely* of an LF, set "*eol" to point to the LF.Guy Harris1-1/+6
svn path=/trunk/; revision=2469
2000-09-29Dynamically grow the buffer used by "format_text()", rather than cuttingGuy Harris1-24/+37
the text off at 62 characters. svn path=/trunk/; revision=2466
2000-09-28Simple code movement.Gilbert Ramirez3-1/+257
svn path=/trunk/; revision=2463
2000-09-28Simple code movement to epan.Gilbert Ramirez3-1/+1498
svn path=/trunk/; revision=2462
2000-09-28More EPAN-related code movements. Get rid of usage of #include "globals.h"Gilbert Ramirez8-10/+180
and #include "util.h" from epan code. Move get_home_dir() into epan/filesystem.c as it's used by plugins.c. svn path=/trunk/; revision=2461
2000-09-27Move packet.[ch] to epanGilbert Ramirez3-1/+1961
svn path=/trunk/; revision=2460
2000-09-27Fix for bug in lex command.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=2459
2000-09-27First step in moving core Ethereal routines to libepan.Gilbert Ramirez24-0/+10111
svn path=/trunk/; revision=2458