X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=internals%2F_PDCLIB_int.h;h=5c9cce5bdf2ffbff565c54f6daf1c3c4dc18698d;hb=3b7e3a6f07410a5757339fb8037c149c1655385e;hp=562393233195b2f4c77fa43432ff8e2fa01cbc12;hpb=0d8315ee192608e94b6ab4f079aa32ae5799c437;p=pdclib diff --git a/internals/_PDCLIB_int.h b/internals/_PDCLIB_int.h index 5623932..5c9cce5 100644 --- a/internals/_PDCLIB_int.h +++ b/internals/_PDCLIB_int.h @@ -301,6 +301,13 @@ struct _PDCLIB_file_t struct _PDCLIB_file_t * next; /* Pointer to next struct (internal) */ }; +/* -------------------------------------------------------------------------- */ +/* Various internals */ +/* -------------------------------------------------------------------------- */ + +typedef _PDCLIB_time _PDCLIB_time_t; +typedef _PDCLIB_clock _PDCLIB_clock_t; + /* -------------------------------------------------------------------------- */ /* Internal data types */ /* -------------------------------------------------------------------------- */ @@ -397,6 +404,9 @@ int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream ); /* Closing all streams on program exit */ void _PDCLIB_closeall( void ); +/* Check if a given year is a leap year. Parameter is offset to 1900. */ +int _PDCLIB_is_leap( int year_offset ); + /* -------------------------------------------------------------------------- */ /* errno */ /* -------------------------------------------------------------------------- */