2 * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
5 #ifndef _CONSTR_SEQUENCE_OF_H_
6 #define _CONSTR_SEQUENCE_OF_H_
8 #include <asn_application.h>
9 #include <constr_SET_OF.h> /* Implemented using SET OF */
16 * A set specialized functions dealing with the SEQUENCE OF type.
17 * Generally implemented using SET OF.
19 #define SEQUENCE_OF_free SET_OF_free
21 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
22 #define SEQUENCE_OF_print SET_OF_print
23 #endif /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
25 asn_struct_compare_f SEQUENCE_OF_compare;
27 #define SEQUENCE_OF_constraint SET_OF_constraint
29 #if !defined(ASN_DISABLE_BER_SUPPORT)
30 #define SEQUENCE_OF_decode_ber SET_OF_decode_ber
31 der_type_encoder_f SEQUENCE_OF_encode_der;
32 #endif /* !defined(ASN_DISABLE_BER_SUPPORT) */
34 #if !defined(ASN_DISABLE_XER_SUPPORT)
35 #define SEQUENCE_OF_decode_xer SET_OF_decode_xer
36 xer_type_encoder_f SEQUENCE_OF_encode_xer;
37 #endif /* !defined(ASN_DISABLE_XER_SUPPORT) */
39 #if !defined(ASN_DISABLE_JER_SUPPORT)
40 jer_type_encoder_f SEQUENCE_OF_encode_jer;
41 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
43 #if !defined(ASN_DISABLE_OER_SUPPORT)
44 #define SEQUENCE_OF_decode_oer SET_OF_decode_oer
45 #define SEQUENCE_OF_encode_oer SET_OF_encode_oer
46 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
48 #if !defined(ASN_DISABLE_UPER_SUPPORT)
49 #define SEQUENCE_OF_decode_uper SET_OF_decode_uper
50 per_type_encoder_f SEQUENCE_OF_encode_uper;
51 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) */
52 #if !defined(ASN_DISABLE_APER_SUPPORT)
53 #define SEQUENCE_OF_decode_aper SET_OF_decode_aper
54 per_type_encoder_f SEQUENCE_OF_encode_aper;
55 #endif /* !defined(ASN_DISABLE_APER_SUPPORT) */
57 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
58 #define SEQUENCE_OF_random_fill SET_OF_random_fill
59 #endif /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
61 extern asn_TYPE_operation_t asn_OP_SEQUENCE_OF;
67 #endif /* _CONSTR_SET_OF_H_ */