Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan pint.h plugins.c tvbuff.c tvbuff.h

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: Mon, 29 Oct 2001 15:56:50 -0600 (CST)
guy         2001/10/29 15:56:49 CST

  Modified files:
    epan                 pint.h plugins.c tvbuff.c tvbuff.h 
  Log:
  Stop using "tvb_get_ntohll()" and "%llX" in the BOOTP dissector, as the
  former depends on having "guint64" and the latter depends on
  "%ll[douxX]" being what's used to print 64-bit integers, and there are
  platforms on which Etheeal runs that don't have "guint64" or that don't
  use "%ll[douxX]" to print 64-bit integers.
  
  Get rid of the routines to extract 64-bit integers into "gint64"s and
  "guint64"s, as per Ronnie Sahlberg's suggestion, to discourage people
  from writing code that won't work on all platforms; they should be using
  FT_UINT64, or the routines in "int-64bit.c", instead.
  
  Revision  Changes    Path
  1.4       +1 -25     ethereal/epan/pint.h
  1.38      +1 -7      ethereal/epan/plugins.c
  1.20      +1 -24     ethereal/epan/tvbuff.c
  1.16      +1 -7      ethereal/epan/tvbuff.h