]> git.stg.codes - stg.git/blob - libs/smux/include/stg/constr_SET_OF.h
Update README.
[stg.git] / libs / smux / include / stg / constr_SET_OF.h
1 /*-
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
11 extern "C" {
12 #endif
13
14 typedef 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  */
28 asn_struct_free_f SET_OF_free;
29 asn_struct_print_f SET_OF_print;
30 asn_struct_compare_f SET_OF_compare;
31 asn_constr_check_f SET_OF_constraint;
32 ber_type_decoder_f SET_OF_decode_ber;
33 der_type_encoder_f SET_OF_encode_der;
34 xer_type_decoder_f SET_OF_decode_xer;
35 xer_type_encoder_f SET_OF_encode_xer;
36 oer_type_decoder_f SET_OF_decode_oer;
37 oer_type_encoder_f SET_OF_encode_oer;
38 per_type_decoder_f SET_OF_decode_uper;
39 per_type_encoder_f SET_OF_encode_uper;
40 asn_random_fill_f  SET_OF_random_fill;
41 extern asn_TYPE_operation_t asn_OP_SET_OF;
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif  /* CONSTR_SET_OF_H */