The date and time classes contain methods for doing date/time calculations for the various ASN.1 time types including GeneralizedTime and UTCTime.
◆ LOG_TMERR
#define LOG_TMERR |
( |
|
pctxt, |
|
|
|
stat |
|
) |
| ((pctxt != 0) ? LOG_RTERR (pctxt, stat) : stat) |
This macro logs an error in the time functions. It checks to make sure that the context parameter is not null before returning either a logged error (stored in the context) or simply the status itself.
- Parameters
-
pctxt | A pointer to an OSCTXT data structure; it may be null. |
stat | The error status. |
- Returns
- The result of calling LOG_RTERR or the status, depending on the value of the pctxt parameter.