Commit Graph

315 Commits

Author SHA1 Message Date
Jörg Mayer 56f992a47f warning: ISO C does not allow extra ; outside of a function
svn path=/trunk/; revision=9386
2003-12-21 05:29:26 +00:00
Jörg Mayer 04dc6ff0ea warning: no newline at end of file
svn path=/trunk/; revision=9385
2003-12-21 04:40:14 +00:00
Jörg Mayer b8923a41e8 warning: comma at end of enumerator list
svn path=/trunk/; revision=9384
2003-12-21 04:38:41 +00:00
Jörg Mayer 9cdb5da91f Compiling with -pedantic:
packet-v5ua.c:1044:139: warning: C++ style comments are not allowed in ISO C90

svn path=/trunk/; revision=9380
2003-12-21 04:20:02 +00:00
Jörg Mayer 9d2915a7e6 Compiling with -pedantic:
moduleinfo.h:16:24: warning: no newline at end of file

svn path=/trunk/; revision=9378
2003-12-21 03:53:33 +00:00
Jörg Mayer ad28a88d72 Compiling with -pedantic:
packet-irda.c:453:1: warning: C++ style comments are not allowed in ISO C90
packet-irda.c:453:1: warning: (this will be reported only once per input file)
(+ several more // disabling debug output)

svn path=/trunk/; revision=9377
2003-12-21 03:48:27 +00:00
Guy Harris 604aa6faeb Add more files.
svn path=/trunk/; revision=9347
2003-12-18 20:35:40 +00:00
Guy Harris e4c1c73fc5 From Jan Kiszka: add a comment explaining what the IrDA plugin does.
svn path=/trunk/; revision=9346
2003-12-18 20:34:43 +00:00
Guy Harris b8299f0b98 From Jan Kiszka: IrDA support.
svn path=/trunk/; revision=9345
2003-12-18 19:07:14 +00:00
Guy Harris daf2b3a71e Fix some typoes.
svn path=/trunk/; revision=9339
2003-12-18 01:47:42 +00:00
Guy Harris 1f4d9672ad Get rid of an unused value_string table and unused #defines.
svn path=/trunk/; revision=9320
2003-12-17 20:30:56 +00:00
Ulf Lamping c9b6a1bc6c added missing rule for v5ua plugin
svn path=/trunk/; revision=9318
2003-12-17 18:05:27 +00:00
Guy Harris c91e87c84b Make Makefile.am and Makefile.nmake match those for other plugins.
svn path=/trunk/; revision=9312
2003-12-17 07:02:12 +00:00
Guy Harris 2df96b563e From Christoph Neusch: V5UA support.
From Anders Broman: patches to various makefiles and configure scripts
to build the V5UA dissector, and patches to make it compile.

From me: .cvsignore file, and NSIS patches.

svn path=/trunk/; revision=9311
2003-12-17 05:16:21 +00:00
Ulf Lamping a3d0e32a0b using G_DIR_SEPARATOR_S instead of hardcoded slash
(not suitable on win32 platforms)

svn path=/trunk/; revision=9299
2003-12-16 21:02:11 +00:00
Guy Harris c20f75c872 Use "int"s, not "guint16"s, as packet offsets (using values shorter
than32 bits risks overflow problems).

Use "gint" for tvbuff lengths.

Use -1 for uses of "tvb_length_remaining()" that mean "the rest of the
tvbuff"; use "tvb_reported_length_remaining()" for "the rest of the
packet.

Clean up the handling of the DOCSIS payload.

svn path=/trunk/; revision=9267
2003-12-13 03:18:38 +00:00
Guy Harris d64affe0a4 Use "int"s, not "guint16"s, as packet offsets (using values shorter
than32 bits risks overflow problems).

Use a "gint" as the length of the vsif TLV, as that's what
"tvb_length_remaining()" returns.

svn path=/trunk/; revision=9266
2003-12-13 02:45:30 +00:00
Guy Harris a8c1cc5ef3 Use "int"s, not "guint16"s, as packet offsets (using values shorter than
32 bits risks overflow problems).

svn path=/trunk/; revision=9264
2003-12-13 02:38:33 +00:00
Ulf Lamping 10e3320115 prevent MSVC warning:
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen"
-> size conflict in argument, conversion done

svn path=/trunk/; revision=9244
2003-12-11 21:23:37 +00:00
Guy Harris 1d4abd1568 Subdissectors must be called regardless of whether a protocol tree is
being built.

svn path=/trunk/; revision=9174
2003-12-05 09:25:41 +00:00
Guy Harris 2428266b1d From some reason, at least on Mac OS X 10.3, the change to have the
protocol tree stuff not use GNodes means that the ASN.1 plugin now needs
to be explicitly linked against GLib in order to get access to the GNode
routines, otherwise you get errors from the run-time linker.

svn path=/trunk/; revision=9173
2003-12-04 22:37:52 +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 254f2f790b From Erwin Rol: RTCFG support.
Add in a URL to the RTNET home page.

svn path=/trunk/; revision=9102
2003-11-27 21:09:43 +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 3d0f23f569 The second of the "col_set_fence()" entries is the one that should've
been removed; that way, the ordinals of existing entries in the function
vector is preserved.

svn path=/trunk/; revision=9012
2003-11-18 19:34:43 +00:00
Guy Harris a98138bd48 From Lars Roland: put missing "enttec" into "all" list.
svn path=/trunk/; revision=9011
2003-11-18 19:31:51 +00:00
Ulf Lamping 5d394a177b col_set_fence occurs twice, removed one appearance
svn path=/trunk/; revision=9007
2003-11-18 19:26:26 +00:00
Ulf Lamping 584550018e corrected cut and paste errors, makefile was unchanged copied from rtnet
svn path=/trunk/; revision=9004
2003-11-18 19:18:45 +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 42d35d6cd3 Export "protocol_t" as an opaque type.
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()"
take a "protocol_t *" as an argument, so they don't have to look up the
"protocol_t" - this will probably speed them up considerably, and
they're called on almost every dissector handoff.

Get rid of a number of "proto_is_protocol_enabled()" calls that aren't
necessary (dissectors called through handles, including those called
through dissector tables, or called as heuristic dissectors, aren't even
called if their protocol isn't enabled).

Change some direct dissector calls to go through handles.

svn path=/trunk/; revision=9002
2003-11-18 08:58:09 +00:00
Guy Harris 7952d0627a Fix the copyright notices (Gerald has the copyright on Ethereal).
svn path=/trunk/; revision=8991
2003-11-17 22:34:25 +00:00
Guy Harris 48e2a1b3eb Tweak the introductory comment.
svn path=/trunk/; revision=8990
2003-11-17 22:31:27 +00:00
Guy Harris e3a99fe8dc Fix the .cvsignore files.
svn path=/trunk/; revision=8989
2003-11-17 22:29:21 +00:00
Guy Harris 9da9dcd747 From Erwin Rol: check the checksum in RDM packets.
svn path=/trunk/; revision=8988
2003-11-17 22:26:57 +00:00
Guy Harris 33629cc801 From Erwin Rol: initial ENTTEC support and RDM support.
svn path=/trunk/; revision=8985
2003-11-17 20:57:14 +00:00
Guy Harris 7bd2e232a9 Export "protocol_t" as an opaque type.
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()"
take a "protocol_t *" as an argument, so they don't have to look up the
"protocol_t" - this will probably speed them up considerably, and
they're called on almost every dissector handoff.

Get rid of a number of "proto_is_protocol_enabled()" calls that aren't
necessary (dissectors called through handles, including those called
through dissector tables, or called as heuristic dissectors, aren't even
called if their protocol isn't enabled).

Change some direct dissector calls to go through handles.

svn path=/trunk/; revision=8979
2003-11-16 23:17:27 +00:00
Guy Harris 483c96f0e8 From Anand Narwani: fix bitmask for Active Grants field.
svn path=/trunk/; revision=8953
2003-11-12 23:17:37 +00:00
Guy Harris be2f2a2432 Get rid of carriage returns in source files.
svn path=/trunk/; revision=8942
2003-11-11 20:08:13 +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
Guy Harris 6b163ce479 From Albert Chin: the HP-UX 10.20 C compiler doesn't allow
typedef enum _foo foo;
	enum _foo {
		...
	};

You have to define the enum before using it in a typedef.  (If I had my
ANSI C89 standard handy, I could say whether that was legal ANSI C or
not.)

svn path=/trunk/; revision=8918
2003-11-09 22:15:29 +00:00
Guy Harris 5d8c92b63b From Erwin Rol: fix some switched fields.
svn path=/trunk/; revision=8897
2003-11-06 09:32:46 +00:00
Guy Harris cbfc93b82e Use "$(OBJECTS)" whenever a complete list of .obj files appears, rather
than repeating the list from the setting of OBJECTS.

svn path=/trunk/; revision=8893
2003-11-06 09:05:14 +00:00
Guy Harris 14d0def0a4 Update from Erwin Rol.
svn path=/trunk/; revision=8888
2003-11-05 20:10:54 +00:00
Guy Harris 07697e98d3 From Masaki Chikama: fix static compilation of "generic ASN.1" and
Gryphon plugins.

svn path=/trunk/; revision=8878
2003-11-04 18:38:53 +00:00
Gerald Combs af59706124 #ifdef out "#include <gtk/gtk.h>", so that --disable-ethereal works again.
svn path=/trunk/; revision=8877
2003-11-04 16:44:25 +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
Gerald Combs 031db8b9c8 From Gisle Vanem:
* Added a new function get_file_in_temp() to
  epan/filesystem.c. This because of asn1.dll plugin which
  had code to write to a log-file "c:\temp\ethereal.log". I feel
  this patch makes this safer; I don't even have a c:\temp dir.

* Patched packet-asn1.c to use get_file_in_temp().

* Added some #undef to packet-snmp.c to silence gcc.

* Changed "%u" -> "%lu" formats in util.c

Rename get_file_in_temp() to get_tempfile_path() to match other function
names.

svn path=/trunk/; revision=8859
2003-11-02 23:12:35 +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 0fc4e38c65 "End" means end, not "almost the end".
svn path=/trunk/; revision=8852
2003-11-01 03:10:03 +00:00
Guy Harris 86206cae5a Move the new functions to the end of the list, so we don't change the
ordinal numbers of the routines already in the list (that breaks binary
compatibility).

svn path=/trunk/; revision=8851
2003-11-01 03:08:37 +00:00