Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan bitswap.c bitswap.h Makefile.am Makefil

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Nov 2000 03:37:53 -0600 (CST)
guy         2000/11/15 03:37:53 CST

  Modified files:
    epan                 Makefile.am Makefile.nmake plugins.c 
                         plugins.h 
  Added files:
    epan                 bitswap.c bitswap.h 
  Log:
  Move the table of bit-swapped byte values to "epan/bitswap.c", and
  declare it, and define a "BIT_SWAP" macro that uses it, in
  "epan/bitswap.h".
  
  Use that macro to bit-swap bytes in the IEEE 802.11 dissector, rather
  than the macro that was used (said macro used GCCisms and didn't compile
  on Windows).
  
  Make an "init_plugin()" routine to enable a plugin and call its init
  routine, and call it from "check_plugin_status()" and
  "plugins_enable_cb()", rather than having very similar code in two
  places; "patable" is now part of libethereal, and, at least on Windows,
  attempts to refer to it from "libui" failed.  Make "patable" static to
  "epan/plugins.c".  (This may still not work, as now "libui" is calling a
  routine in "libethereal"; if that fails, perhaps it's time to get rid of
  the "enable/disable plugins" stuff completely, as new-style plugins, at
  least, register themselves as protocols and should be controllable from
  the "Edit->Protocols" window just as built-in dissectors are.)
  
  Revision  Changes    Path
  1.13      +3 -1      ethereal/epan/Makefile.am
  1.5       +2 -1      ethereal/epan/Makefile.nmake
  1.10      +33 -15    ethereal/epan/plugins.c
  1.3       +2 -1      ethereal/epan/plugins.h