|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _ENUMERATED_H_ |
|
|
#define _ENUMERATED_H_ |
|
|
|
|
|
#include <INTEGER.h> |
|
|
|
|
|
#ifdef __cplusplus |
|
|
extern "C" { |
|
|
#endif |
|
|
|
|
|
typedef INTEGER_t ENUMERATED_t; |
|
|
|
|
|
extern asn_TYPE_descriptor_t asn_DEF_ENUMERATED; |
|
|
extern asn_TYPE_operation_t asn_OP_ENUMERATED; |
|
|
|
|
|
#define ENUMERATED_free ASN__PRIMITIVE_TYPE_free |
|
|
|
|
|
#if !defined(ASN_DISABLE_PRINT_SUPPORT) |
|
|
#define ENUMERATED_print INTEGER_print |
|
|
#endif |
|
|
|
|
|
#define ENUMERATED_compare INTEGER_compare |
|
|
#define ENUMERATED_copy INTEGER_copy |
|
|
|
|
|
#define ENUMERATED_constraint asn_generic_no_constraint |
|
|
|
|
|
#if !defined(ASN_DISABLE_BER_SUPPORT) |
|
|
#define ENUMERATED_decode_ber ber_decode_primitive |
|
|
#define ENUMERATED_encode_der INTEGER_encode_der |
|
|
#endif |
|
|
|
|
|
#if !defined(ASN_DISABLE_XER_SUPPORT) |
|
|
#define ENUMERATED_decode_xer INTEGER_decode_xer |
|
|
#define ENUMERATED_encode_xer INTEGER_encode_xer |
|
|
#endif |
|
|
|
|
|
#if !defined(ASN_DISABLE_JER_SUPPORT) |
|
|
jer_type_decoder_f ENUMERATED_decode_jer; |
|
|
#define ENUMERATED_encode_jer INTEGER_encode_jer |
|
|
#endif |
|
|
|
|
|
#if !defined(ASN_DISABLE_OER_SUPPORT) |
|
|
oer_type_decoder_f ENUMERATED_decode_oer; |
|
|
oer_type_encoder_f ENUMERATED_encode_oer; |
|
|
#endif |
|
|
|
|
|
#if !defined(ASN_DISABLE_UPER_SUPPORT) |
|
|
per_type_decoder_f ENUMERATED_decode_uper; |
|
|
per_type_encoder_f ENUMERATED_encode_uper; |
|
|
#endif |
|
|
#if !defined(ASN_DISABLE_APER_SUPPORT) |
|
|
per_type_decoder_f ENUMERATED_decode_aper; |
|
|
per_type_encoder_f ENUMERATED_encode_aper; |
|
|
#endif |
|
|
|
|
|
#if !defined(ASN_DISABLE_RFILL_SUPPORT) |
|
|
#define ENUMERATED_random_fill INTEGER_random_fill |
|
|
#endif |
|
|
|
|
|
#ifdef __cplusplus |
|
|
} |
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|