blob: 768106271a047c82c56e395d731dff42c55aa603 [file] [log] [blame]
Peter Szilagyifbc56f92019-07-23 19:29:46 +00001/*-
2 * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
4 */
5#ifndef CONSTR_SET_OF_H
6#define CONSTR_SET_OF_H
7
8#include <asn_application.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef struct asn_SET_OF_specifics_s {
15 /*
16 * Target structure description.
17 */
18 unsigned struct_size; /* Size of the target structure. */
19 unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */
20
21 /* XER-specific stuff */
22 int as_XMLValueList; /* The member type must be encoded like this */
23} asn_SET_OF_specifics_t;
24
25/*
26 * A set specialized functions dealing with the SET OF type.
27 */
28asn_struct_free_f SET_OF_free;
29asn_struct_print_f SET_OF_print;
30asn_struct_compare_f SET_OF_compare;
31asn_constr_check_f SET_OF_constraint;
32ber_type_decoder_f SET_OF_decode_ber;
33der_type_encoder_f SET_OF_encode_der;
34xer_type_decoder_f SET_OF_decode_xer;
35xer_type_encoder_f SET_OF_encode_xer;
36oer_type_decoder_f SET_OF_decode_oer;
37oer_type_encoder_f SET_OF_encode_oer;
38per_type_decoder_f SET_OF_decode_uper;
39per_type_encoder_f SET_OF_encode_uper;
40per_type_decoder_f SET_OF_decode_aper;
41per_type_encoder_f SET_OF_encode_aper;
42asn_random_fill_f SET_OF_random_fill;
43extern asn_TYPE_operation_t asn_OP_SET_OF;
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* CONSTR_SET_OF_H */