00001 // 00002 // ping.hh : Ping Include File 00003 // author : Fabio Silva 00004 // 00005 // Copyright (C) 2000-2002 by the University of Southern California 00006 // $Id: ping.hh,v 1.6 2002/11/26 22:45:37 haldar Exp $ 00007 // 00008 // This program is free software; you can redistribute it and/or 00009 // modify it under the terms of the GNU General Public License, 00010 // version 2, as published by the Free Software Foundation. 00011 // 00012 // This program is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License along 00018 // with this program; if not, write to the Free Software Foundation, Inc., 00019 // 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 00020 // 00021 // 00022 00023 #ifndef _PING_HH_ 00024 #define _PING_HH_ 00025 00026 #ifdef HAVE_CONFIG_H 00027 #include "config.h" 00028 #endif // HAVE_CONFIG_H 00029 00030 #include "diffapp.hh" 00031 00032 #define COUNTER_KEY 3601 00033 #define TIME_KEY 3602 00034 00035 extern NRSimpleAttributeFactory<char *> TargetAttr; 00036 extern NRSimpleAttributeFactory<int> AppCounterAttr; 00037 extern NRSimpleAttributeFactory<void *> TimeAttr; 00038 00039 class EventTime { 00040 public: 00041 long seconds_; 00042 long useconds_; 00043 }; 00044 00045 #endif // !_PING_HH_
1.3.3