"Fossies" - the Fresh Open Source Software Archive

Member "tcpflow-1.6.1/src/wifipcap/types.h" (19 Feb 2021, 2057 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 "types.h" 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 #ifndef __TYPES__H
   24 #define __TYPES__H
   25 
   26 // basic types and utility macros
   27 
   28 typedef unsigned char      byte;
   29 typedef unsigned char      ubyte;
   30 typedef unsigned char      uint8;
   31 typedef unsigned short     uint16; 
   32 typedef unsigned int       uint32;
   33 typedef unsigned long long uint64;
   34 
   35 typedef          char      sbyte;
   36 typedef          char      sint8;
   37 typedef          short     sint16; 
   38 typedef          int       sint32;
   39 typedef          long long sint64;
   40 
   41 typedef float              real;
   42 typedef float              real32;
   43 typedef double             real64;
   44 //typedef long double        real64;
   45 
   46 typedef unsigned int guint;
   47 typedef uint32 guint32;
   48 typedef uint16 guint16;
   49 typedef uint8  guint8;
   50 
   51 #ifndef MAX
   52 #define MAX(x,y) ((x)>(y)?(x):(y))
   53 #endif
   54 #ifndef MIN
   55 #define MIN(x,y) ((x)<(y)?(x):(y))
   56 #endif
   57 
   58 #endif
   59 // vim: set sw=4 sts=4 ts=8 noet: 
   60 // Local Variables:
   61 // Mode: c++
   62 // c-basic-offset: 4
   63 // tab-width: 8
   64 // indent-tabs-mode: t
   65 // End: