"Fossies" - the Fresh Open Source Software Archive

Member "tcpflow-1.6.1/src/wifipcap/TimeVal.cpp" (19 Feb 2021, 1718 Bytes) of package /linux/misc/tcpflow-1.6.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "TimeVal.cpp" see the Fossies "Dox" file reference documentation.

    1 ////////////////////////////////////////////////////////////////////////////////
    2 // Mercury and Colyseus Software Distribution 
    3 // 
    4 // Copyright (C) 2004-2005 Ashwin Bharambe (ashu@cs.cmu.edu)
    5 //               2004-2005 Jeffrey Pang    (jeffpang@cs.cmu.edu)
    6 //                    2004 Mukesh Agrawal  (mukesh@cs.cmu.edu)
    7 // 
    8 // This program is free software; you can redistribute it and/or
    9 // modify it under the terms of the GNU General Public License as
   10 // published by the Free Software Foundation; either version 2, or (at
   11 // your option) any later version.
   12 // 
   13 // This program is distributed in the hope that it will be useful, but
   14 // WITHOUT ANY WARRANTY; without even the implied warranty of
   15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   16 // General Public License for more details.
   17 // 
   18 // You should have received a copy of the GNU General Public License
   19 // along with this program; if not, write to the Free Software
   20 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
   21 // USA
   22 ////////////////////////////////////////////////////////////////////////////////
   23 /* -*- Mode:c++; c-basic-offset:4; tab-width:4; indent-tabs-mode:t -*- */
   24 
   25 /**************************************************************************
   26   TimeVal.cpp
   27 
   28 begin           : Oct 16, 2003
   29 version         : $Id: TimeVal.cpp,v 1.1.1.1 2006/12/14 01:22:11 jpang Exp $
   30 copyright       : (C) 2003      Jeff Pang        ( jeffpang@cs.cmu.edu )
   31 (C) 2003      Justin Weisz     (  jweisz@cs.cmu.edu  )
   32 
   33  ***************************************************************************/
   34 
   35 #include <cstdlib>
   36 #include <cstdio>
   37 #include "TimeVal.h"
   38 
   39                   //using namespace std;
   40 
   41 TimeVal TIME_NONE = {0,0};
   42