Annotation of embedaddon/mtr/packet/timeval.h, revision 1.1

1.1     ! misho       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
        !            15:     along with this program; if not, write to the Free Software
        !            16:     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, 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>