blob: 8d2fb500bc6e31425a1bb62ea6ca0bb504d1fb25 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001/*-
2 * Copyright (c) 2003 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
Lev Walkin11c3e172004-09-24 21:00:50 +00008#include <asn_application.h>
Lev Walkinf15320b2004-06-03 03:38:44 +00009
Lev Walkin5e033762004-09-29 13:26:15 +000010typedef struct asn_SET_OF_specifics_s {
Lev Walkinf15320b2004-06-03 03:38:44 +000011 /*
12 * Target structure description.
13 */
14 int struct_size; /* Size of the target structure. */
Lev Walkin5e033762004-09-29 13:26:15 +000015 int ctx_offset; /* Offset of the asn_struct_ctx_t member */
Lev Walkina9cc46e2004-09-22 16:06:28 +000016
17 /* XER-specific stuff */
18 int as_XMLValueList; /* The member type must be encoded like this */
Lev Walkin5e033762004-09-29 13:26:15 +000019} asn_SET_OF_specifics_t;
Lev Walkinf15320b2004-06-03 03:38:44 +000020
21/*
22 * A set specialized functions dealing with the SET OF type.
23 */
Lev Walkina9cc46e2004-09-22 16:06:28 +000024asn_struct_free_f SET_OF_free;
25asn_struct_print_f SET_OF_print;
Lev Walkinf15320b2004-06-03 03:38:44 +000026asn_constr_check_f SET_OF_constraint;
27ber_type_decoder_f SET_OF_decode_ber;
28der_type_encoder_f SET_OF_encode_der;
Lev Walkin8bb4a952005-02-14 20:15:40 +000029xer_type_decoder_f SET_OF_decode_xer;
Lev Walkina9cc46e2004-09-22 16:06:28 +000030xer_type_encoder_f SET_OF_encode_xer;
Lev Walkinf15320b2004-06-03 03:38:44 +000031
32#endif /* _CONSTR_SET_OF_H_ */