File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mtr / packet / timeval.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:07:30 2021 UTC (3 years, 3 months ago) by misho
Branches: mtr, MAIN
CVS tags: v0_95, v0_94, HEAD
mtr 0.94

    1: /*
    2:     mtr  --  a network diagnostic tool
    3:     Copyright (C) 2016  Matt Kimball
    4: 
    5:     This program is free software; you can redistribute it and/or modify
    6:     it under the terms of the GNU General Public License version 2 as
    7:     published by the Free Software Foundation.
    8: 
    9:     This program is distributed in the hope that it will be useful,
   10:     but WITHOUT ANY WARRANTY; without even the implied warranty of
   11:     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12:     GNU General Public License for more details.
   13: 
   14:     You should have received a copy of the GNU General Public License along
   15:     with this program; if not, write to the Free Software Foundation, Inc.,
   16:     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
   17: */
   18: 
   19: #ifndef TIMEVAL_H
   20: #define TIMEVAL_H
   21: 
   22: #include <sys/time.h>
   23: 
   24: void normalize_timeval(
   25:     struct timeval *timeval);
   26: 
   27: int compare_timeval(
   28:     struct timeval a,
   29:     struct timeval b);
   30: 
   31: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>