DECnet-VAX DECdts Programming

*HyperReader

  CONTENTS

  Title Page

  Copyright Page

  Preface

  1      Introduction to the Digital Distributed Time Service API

  1.1     Time Structures
    1.1.1 utc Structure
    1.1.2 tm Structure
    1.1.3 timespec Structure
    1.1.4 reltimespec Structure

  1.2     DECdts Time Representation
    1.2.1      Absolute Time Representation
    1.2.2      Relative Time Representation

  1.3     DECdts API Header Files

  2      DECdts Portable Applications Programming Interface

  utc_addtime

  utc_anytime

  utc_anyzone

  utc_ascanytime

  utc_ascgmtime

  utc_asclocaltime

  utc_ascreltime

  utc_binreltime

  utc_bintime

  utc_boundtime

  utc_cmpintervaltime

  utc_cmpmidtime

  utc_gettime

  utc_getusertime

  utc_gmtime

  utc_gmtzone

  utc_localtime

  utc_localzone

  utc_mkanytime

  utc_mkascreltime

  utc_mkasctime

  utc_mkbinreltime

  utc_mkbintime

  utc_mkgmtime

  utc_mklocaltime

  utc_mkreltime

  utc_mulftime

  utc_multime

  utc_pointtime

  utc_reltime

  utc_spantime

  utc_subtime

  3      Using the DECdts API Routines

  4      Time-Provider Interface

  4.1     General TPI Control Flow

  4.2     Message Types
    4.2.1      The Time Request Message
    4.2.2      Time Response Messages
      4.2.2.1      The Control Message
      4.2.2.2      The Data Message

  4.3     Inter-Process Communication

  4.4     Time-Provider Algorithm

  4.5     Time Server (DECdts Server Process) Algorithm

  4.6     Running the Time-Provider Process

  4.7     Time-Provider Interface, User Accessible Definitions

  4.8     Sample Time-Provider Programs and External Time-Provider Sources

  Glossary

  FIGURES

  4-1        DECdts Server/TP Process Message Exchange

  TABLES

  1-1        Absolute Time Structures

  1-2        Relative Time Structures

  4-1        Time-Provider Programs and Related Time-Provider Suppliers