cvs commit: src/lib/libalias alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c alias_local.h alias_nbt.c alias_pptp.c alias_proxy.c alias_skinny.c alias_smedia.c alias_util.c

Dag-Erling Smorgrav des at FreeBSD.org
Tue Jul 6 05:13:28 PDT 2004


des         2004-07-06 12:13:28 UTC

  FreeBSD src repository

  Modified files:
    lib/libalias         alias.c alias_cuseeme.c alias_db.c 
                         alias_ftp.c alias_irc.c alias_local.h 
                         alias_nbt.c alias_pptp.c alias_proxy.c 
                         alias_skinny.c alias_smedia.c 
                         alias_util.c 
  Log:
  Introduce inline {ip,udp,tcp}_next() functions which take a pointer to an
  {ip,udp,tcp} header and return a void * pointing to the payload (i.e. the
  first byte past the end of the header and any required padding).  Use them
  consistently throughout libalias to a) reduce code duplication, b) improve
  code legibility, c) get rid of a bunch of alignment warnings.
  
  Revision  Changes    Path
  1.48      +22 -22    src/lib/libalias/alias.c
  1.10      +4 -5      src/lib/libalias/alias_cuseeme.c
  1.61      +3 -3      src/lib/libalias/alias_db.c
  1.23      +2 -2      src/lib/libalias/alias_ftp.c
  1.18      +1 -1      src/lib/libalias/alias_irc.c
  1.29      +26 -0     src/lib/libalias/alias_local.h
  1.15      +4 -4      src/lib/libalias/alias_nbt.c
  1.11      +6 -6      src/lib/libalias/alias_pptp.c
  1.18      +3 -3      src/lib/libalias/alias_proxy.c
  1.6       +2 -2      src/lib/libalias/alias_skinny.c
  1.11      +3 -3      src/lib/libalias/alias_smedia.c
  1.15      +1 -1      src/lib/libalias/alias_util.c


More information about the cvs-all mailing list