Ethereal-dev: Re: [Ethereal-dev] Updated find capabilities.

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

From: Richard Sharpe <rsharpe@xxxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2003 21:24:39 -0700 (PDT)
On Thu, 28 Aug 2003, Guy Harris wrote:

> > My only other comment is that we now seem to have two duplicate pieces 
> > of
> > code that should be a subroutine for ease of maintenance ...
> 
> I've redone a bunch of the find code; there's now a "find_packet()" 
> routine, internal to "file.c", that contains the search framework but 
> doesn't do any matching; it's passed a pointer to a function to do the 
> matching, and an opaque pointer to pass to that function.  There are 
> several functions in "file.c" called by the find code to do various 
> types of searches; they all end up calling "find_packet()".

Great ...

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com