3 /*****************************************************************************
5 * Project ___| | | | _ \| |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
10 * The contents of this file are subject to the Mozilla Public License
11 * Version 1.0 (the "License"); you may not use this file except in
12 * compliance with the License. You may obtain a copy of the License at
13 * http://www.mozilla.org/MPL/
15 * Software distributed under the License is distributed on an "AS IS"
16 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
17 * License for the specific language governing rights and limitations
20 * The Original Code is Curl.
22 * The Initial Developer of the Original Code is Daniel Stenberg.
24 * Portions created by the Initial Developer are Copyright (C) 1998.
25 * All Rights Reserved.
27 * ------------------------------------------------------------
29 * - Daniel Stenberg <Daniel.Stenberg@haxx.nu>
33 * $Source: /cvsroot/curl/curl/lib/timeval.h,v $
34 * $Revision: 1.1.1.1 $
35 * $Date: 1999-12-29 14:21:39 $
40 * ------------------------------------------------------------
41 ****************************************************************************/
43 #if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
51 #ifndef HAVE_GETTIMEOFDAY
52 #if !defined(_WINSOCKAPI_) && !defined(__MINGW32__)
60 struct timeval
tvnow ();
61 double tvdiff (struct timeval t1
, struct timeval t2
);
62 long tvlong (struct timeval t1
);