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