[ARGUS] why have multiple start / end time values ?

slif at bellsouth.net slif at bellsouth.net
Fri Nov 5 10:46:00 EST 2004


These files include the header,
but only ArgusSource.c defines ArgusSource,
which differentiates  definition from declaration.

  File           Line
1 ArgusAuth.c    75 #include <ArgusSource.h>
2 ArgusModeler.c 60 #include <ArgusSource.h>
3 ArgusOutput.c  57 #include <ArgusSource.h>
4 ArgusSource.c  58 #include <ArgusSource.h>
5 Argus_icmp.c   28 #include <ArgusSource.h>
6 Argus_mac.c    28 #include <ArgusSource.h>
7 argus.c        57 #include <ArgusSource.h>

But only ArgusModeler.c, ArgusSource.c, and argus.c
refer to ArgusStartTime and ArgusEndTime.



> 
> From: Carter Bullard <carter at qosient.com>
> Date: 2004/11/05 Fri AM 10:30:29 EST
> To: <slif at bellsouth.net>,  Argus <argus-info at lists.andrew.cmu.edu>
> Subject: Re: [ARGUS] why have multiple start / end time values ?
> 
> Hmmmmmmmmmm, well more than likely if there is a problem,
> the compiler is silently correcting it for us.  But, that
> is more troubling that comforting.  I'll go through the
> globals to make sure there isn't some multiple declaration
> possibilities.
> 
> Carter
> 
> 
> > From: <slif at bellsouth.net>
> > Date: Fri, 5 Nov 2004 10:24:58 -0500
> > To: Carter Bullard <carter at qosient.com>, Argus
> > <argus-info at lists.andrew.cmu.edu>
> > Subject: Re: Re: [ARGUS] why have multiple start / end time values ?
> > 
> > I'm not sure, either. Just noticed that ArgusSource.h
> > either defines what appears to be single instances
> > of variables, or external references to those single
> > instances.
> > 
> > These two variables are the only ones _not_ prefixed
> > with "extern".
> > 
> > So, I guess this is more a question as to why there
> > are multiple instances of ArgusStartTime and ArgusEndTime.
> > 
> > With the patch applied, the server seems to work no
> > differently, but I have no exhaustive test to either
> > prove nor disprove the necessity of the patch.
> > 
> > 
> >> 
> >> From: Carter Bullard <carter at qosient.com>
> >> Date: 2004/11/05 Fri AM 10:10:47 EST
> >> To: <slif at bellsouth.net>,
> >> Argus <argus-info at lists.andrew.cmu.edu>
> >> Subject: Re: [ARGUS] why have multiple start / end time values ?
> >> 
> >> Hey Mike,
> >>    Not sure what the issue is here?
> >> Carter
> >> 
> >>> From: <slif at bellsouth.net>
> >>> Date: Fri, 5 Nov 2004 10:06:18 -0500
> >>> To: <argus-info at lists.andrew.cmu.edu>
> >>> Subject: [ARGUS] why have multiple start / end time values ?
> >>> 
> >>> Hi.
> >>> Unless I'm mistaken (it has happened frequently),
> >>> there will be multiple timeval structures built into the code.
> >>> 
> >>> Should there be just one shared by all modules ?
> >>> 
> >> 
> >> 
> >> 
> > 
> > 
> 
> 
> 




More information about the argus mailing list