diff options
author | Lev Walkin <vlm@lionet.info> | 2004-08-07 03:51:43 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-08-07 03:51:43 +0000 |
commit | 0aca385502e7aded43df802f6b3f430196f139ca (patch) | |
tree | 26a67389bc705a4e5a9c078af121760817f70f82 /skeletons/UTCTime.h | |
parent | 65c91d6cc02e64612fd57e29d336762e8349d96b (diff) |
added asn_time2UT() function
Diffstat (limited to 'skeletons/UTCTime.h')
-rw-r--r-- | skeletons/UTCTime.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/skeletons/UTCTime.h b/skeletons/UTCTime.h index 1e52388e..d00dafb5 100644 --- a/skeletons/UTCTime.h +++ b/skeletons/UTCTime.h @@ -19,8 +19,12 @@ asn_struct_print_f UTCTime_print; * Some handy helpers. * ***********************/ -/* On error returns -1 and errno set to EINVAL */ struct tm; /* <time.h> */ -time_t asn_UT2time(const UTCTime_t *, struct tm *_optional_tm4fill); + +/* See asn_GT2time() in GeneralizedTime.h */ +time_t asn_UT2time(const UTCTime_t *, struct tm *_optional_tm4fill, int as_gmt); + +/* See asn_time2GT() in GeneralizedTime.h */ +UTCTime_t *asn_time2UT(UTCTime_t *__opt_ut, const struct tm *, int force_gmt); #endif /* _UTCTime_H_ */ |