"Fossies" - the Fresh Open Source Software Archive

Member "dateutils-0.4.6/lib/leap-seconds.h" (19 Mar 2019, 776 Bytes) of package /linux/privat/dateutils-0.4.6.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "leap-seconds.h" see the Fossies "Dox" file reference documentation.

    1 /*** header counterpart to auto-gen'd leapseconds.def */
    2 #if !defined INCLUDED_leap_seconds_h_
    3 #define INCLUDED_leap_seconds_h_
    4 
    5 #include <stdint.h>
    6 
    7 /**
    8  * Number of known leap corrections. */
    9 extern const size_t nleaps;
   10 
   11 /**
   12  * Absolute difference in seconds, TAI - UTC, at transition points */
   13 extern const int32_t leaps_corr[];
   14 
   15 /**
   16  * YMD representation of transitions. */
   17 extern const uint32_t leaps_ymd[];
   18 
   19 /**
   20  * YMCW representation of transitions. */
   21 extern const uint32_t leaps_ymcw[];
   22 
   23 /**
   24  * daisy representation of transitions. */
   25 extern const uint32_t leaps_d[];
   26 
   27 /**
   28  * sexy representation of transitions. */
   29 extern const int32_t leaps_s[];
   30 
   31 /**
   32  * HMS representation of transitions. */
   33 extern const uint32_t leaps_hms[];
   34 
   35 #endif  /* INCLUDED_leap_seconds_h_ */