OSF DCE Application Development Guide--Core Components
Time-Provider Interface
/* TP timestamp message. The actual time-provider
* synchronization data. The status is the result of the
* operation (success or failure). The timeStampCount
* parameter returns the number of timestamps being returned
* in this message. The timeStampList is the set of
* timestamps being returned from the TP.
*/
typedef struct TPtimeMsg
{
unsigned long status;
unsigned long timeStampCount;
TimeResponseType timeStampList[K_MAX_TIMESTAMPS];
} TPtimeMsg;
/* The Time-Provider Interface structures are described here.
* There are two types of response messages from the TP:
* control message and data message.
*
* <<<< TPI CONTROL MESSAGE >>>>
*
*310
* +--------------------------------------------+
* | Time-Provider Status |
* +--------------------------------------------+
* | Next Poll Delta |
* +--------------------------------------------+
* | Message Time Out |
* +--------------------------------------------+
* | NoSet Flag |
* +--------------------------------------------+
*
* <<<< a single timestamp >>>>
*
* 128 0
* +--------------------------------------------+
* | Before Time |
* +--------------------------------------------+
* | TP Time |
* +--------------------------------------------+
* | After Time |
* +--------------------------------------------+
*
* <<<< TPI DATA MESSAGE >>>>
*
*310
* +--------------------------------------------+
* | Time-Provider Status |
* +--------------------------------------------+
* | Timestamp Count |
* +--------------------------------------------+
124245 Tandem Computers Incorporated 20−7