Vanetza
 
Loading...
Searching...
No Matches
Duration.h
1/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "IEEE1609dot2BaseTypes"
4 * found in "asn1/IEEE1609dot2BaseTypes.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
6 */
7
8#ifndef _Duration_H_
9#define _Duration_H_
10
11
12#include "asn_application.h"
13
14/* Including external dependencies */
15#include "Uint16.h"
16#include "constr_CHOICE.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22/* Dependencies */
23typedef enum Duration_PR {
24 Duration_PR_NOTHING, /* No components present */
25 Duration_PR_microseconds,
26 Duration_PR_milliseconds,
27 Duration_PR_seconds,
28 Duration_PR_minutes,
29 Duration_PR_hours,
30 Duration_PR_sixtyHours,
31 Duration_PR_years
32} Duration_PR;
33
34/* Duration */
35typedef struct Duration {
36 Duration_PR present;
37 union Duration_u {
38 Uint16_t microseconds;
39 Uint16_t milliseconds;
40 Uint16_t seconds;
41 Uint16_t minutes;
42 Uint16_t hours;
43 Uint16_t sixtyHours;
44 Uint16_t years;
45 } choice;
46
47 /* Context for parsing across buffer boundaries */
48 asn_struct_ctx_t _asn_ctx;
50
51/* Implementation */
52extern asn_TYPE_descriptor_t asn_DEF_Duration;
53extern asn_CHOICE_specifics_t asn_SPC_Duration_specs_1;
54extern asn_TYPE_member_t asn_MBR_Duration_1[7];
55extern asn_per_constraints_t asn_PER_type_Duration_constr_1;
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* _Duration_H_ */
62#include "asn_internal.h"