Debian Codegraph @

skeletons/UTCTime.h

raw symbols SCIP
1 /*-
2 * Copyright (c) 2003, 2004 Lev Walkin <[email protected]>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
4 */
5 #ifndef _UTCTime_H_
6 #define _UTCTime_H_
7
8 #include <OCTET_STRING.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 typedef OCTET_STRING_t UTCTime_t; /* Implemented via OCTET STRING */
15
16 extern asn_TYPE_descriptor_t asn_DEF_UTCTime;
17
18 asn_struct_print_f UTCTime_print;
19 asn_constr_check_f UTCTime_constraint;
20 xer_type_encoder_f UTCTime_encode_xer;
21
22 /***********************
23 * Some handy helpers. *
24 ***********************/
25
26 struct tm; /* <time.h> */
27
28 /* See asn_GT2time() in GeneralizedTime.h */
29 time_t asn_UT2time(const UTCTime_t *, struct tm *_optional_tm4fill, int as_gmt);
30
31 /* See asn_time2GT() in GeneralizedTime.h */
32 UTCTime_t *asn_time2UT(UTCTime_t *__opt_ut, const struct tm *, int force_gmt);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif /* _UTCTime_H_ */