00001 00002 /* 00003 * THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE 00004 * CHECKED IT OUT USING THE COMMAND CHECKOUT. 00005 * 00006 * $Id: truetime_8h-source.html 2161 2006-05-19 16:55:03Z paulf $ 00007 * 00008 * Revision history: 00009 * $Log$ 00009 * Revision 1.1 2006/05/19 16:55:02 paulf 00009 * first inclusion 00009 * 00010 * Revision 1.1 2000/02/14 20:05:54 lucky 00011 * Initial revision 00012 * 00013 * 00014 */ 00015 00016 00017 /********************************************** 00018 * truetime.h * 00019 **********************************************/ 00020 00021 #ifndef TRUETIME_H 00022 #define TRUETIME_H 00023 00024 typedef struct _TrueTimeStruct 00025 { 00026 char DataReady; 00027 char UnitMillisecs; 00028 char TensMillisecs; 00029 char HundredsMillisecs; 00030 char UnitSeconds; 00031 char TensSeconds; 00032 char UnitMinutes; 00033 char TensMinutes; 00034 char UnitHours; 00035 char TensHours; 00036 char UnitDays; 00037 char TensDays; 00038 char HundredsDays; 00039 char Status; 00040 } TrueTimeStruct; 00041 00042 int OpenTrueTime( int ); 00043 int CloseTrueTime( void ); 00044 int GetTrueTime( TrueTimeStruct * ); 00045 00046 #endif 00047