Ethereal-cvs: [Ethereal-cvs] rev 16787: /trunk/gtk/: main.c /trunk/: Makefile.common capture_l

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

Date: Tue, 13 Dec 2005 22:49:00 GMT
User: ulfl
Date: 2005/12/13 04:49 PM

Log:
 HUGE STEP (hopefully toward the right direction):
 remove a lot of redundant code from tethereal and use (move) stuff from capture_loop.c instead.
 
 concentrate common capture related code in capture_opts.c, e.g. trying to find the right interface to capture from (command line option, preference, first usable) instead of duplicating this code over several files.
 
 remove redundant code from dumpcap.c
 
 this also implements command line option -D (and indexed interfaces at -i) for Ethereal and Dumpcap (as we have it in Tethereal already for a while)

Directory: /trunk/gtk/
  Changes    Path          Action
  +21 -71    main.c        Modified

Directory: /trunk/
  Changes    Path               Action
  +1 -0      Makefile.common    Modified
  +81 -125   capture_loop.c     Modified
  +110 -0    capture_loop.h     Modified
  +191 -2    capture_opts.c     Modified
  +19 -4     capture_opts.h     Modified
  +20 -96    dumpcap.c          Modified
  +188 -730  tethereal.c        Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16787&view=rev