aboutsummaryrefslogtreecommitdiffstats
path: root/tap-ansi_astat.c
Commit message (Collapse)AuthorAgeFilesLines
* Squelch more const warnings (and fix some memory leaks that found).Guy Harris2005-08-061-4/+1
| | | | | | | | | | _U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236
* Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" asGuy Harris2005-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | it's used to register a callback for a tap listener invoked if the specified command line argument is specified to the "-z" flag. Move it, along with routines to: look up a "-z" argument in the table constructed by "register_tap_listener_cmd_arg()" and either save the full argument to "-z" and the corresponding listener if it's found or return a failure indication if it isn't; list the available tap listeners; call the "init" routines for the tap listeners saved in the table above; and have Ethereal and Tethereal use those routines. svn path=/trunk/; revision=13993
* change nmake makefiles in /trunk and /trunk/epan so thatLars Roland2005-02-131-4/+0
| | | | | | | | | | | | object code for libethereal.dll isn't generated by the makefile in /trunk. Having no code in /trunk linked into libethereal.dll anymore, the definition of the macro _NEED_VAR_IMPORT_ can be moved from various source files in /trunk to /trunk/Makefile.nmake . So do that, too. svn path=/trunk/; revision=13389
* As we've made the tap_specific_data field of a tap_packet_t structure aGuy Harris2005-01-011-5/+3
| | | | | | | | | | | | | | | const pointer (so that we don't get complaints when we make the tap-specific data argument to "tap_queue_packet()" a const pointer, allowing dissectors to hand const data to a tap without a complaint), we should make the tap per-packet function take a const pointer as an argument as well. Do so. In some taps, use _U_, or actually use the argument, rather than sticking in dummy "X = X" assignments to fake use of parameters. (This means that the tap functions in question no longer have the notion that they act on a particular static structure wired in.) svn path=/trunk/; revision=12910
* Move the tap infrastructure to the epan directory.Guy Harris2004-09-291-1/+1
| | | | svn path=/trunk/; revision=12128
* Move dissectors to epan/dissectors directory.Gilbert Ramirez2004-07-181-2/+2
| | | | | | | | | | 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
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-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
* From Lars Roland: add support for building a libethereal.dll with MSVC:Guy Harris2004-05-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* From Michael Lum:Guy Harris2003-12-091-3/+3
| | | | | | | | new taps for GSM A-interface; fixes for ANSI A-interface taps. svn path=/trunk/; revision=9220
* From Michael Lum: Ethereal tap for ANSI A-interface.Guy Harris2003-12-031-113/+15
| | | | | | Tweak some Makefile.nmake whitespace. svn path=/trunk/; revision=9159
* From Michael Lum:Guy Harris2003-12-011-0/+269
add a message statistics tap for ANSI A interface for Tethereal; fix the BSSAP, BSMAP, and DTAP interface dissectors to call subdissectors even if no protocol tree is being built. svn path=/trunk/; revision=9132