ooDateTime.hGo to the documentation of this file.00001 /* 00002 * Copyright (C) 2004-2009 by Objective Systems, Inc. 00003 * 00004 * This software is furnished under an open source license and may be 00005 * used and copied only in accordance with the terms of this license. 00006 * The text of the license may generally be found in the root 00007 * directory of this installation in the LICENSE.txt file. It 00008 * can also be viewed online at the following URL: 00009 * 00010 * http://www.obj-sys.com/open/license.html 00011 * 00012 * Any redistributions of this file including modified versions must 00013 * maintain this copyright notice. 00014 * 00015 *****************************************************************************/ 00020 #ifndef _OOTIME_H_ 00021 #define _OOTIME_H_ 00022 00023 #include "ooCommon.h" 00024 #include <time.h> 00025 00026 #ifdef __cplusplus 00027 extern "C" { 00028 #endif 00029 00040 EXTERN int ooGetTimeOfDay (struct timeval *tv, struct timezone *tz); 00041 00050 EXTERN long ooGetTimeDiff(struct timeval *tv1, struct timeval *tv2); 00051 #ifdef __cplusplus 00052 } 00053 #endif 00054 #endif |