blob: b013dd6f1c4f9573c623c9422127639f0f628d79 [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
vlmfa67ddc2004-06-03 03:38:44 +000010typedef struct asn1_SET_OF_specifics_s {
11 /*
12 * Target structure description.
13 */
14 int struct_size; /* Size of the target structure. */
15 int ctx_offset; /* Offset of the ber_dec_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 */
vlmfa67ddc2004-06-03 03:38:44 +000019} asn1_SET_OF_specifics_t;
20
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;
vlm39ba4c42004-09-22 16:06:28 +000029xer_type_encoder_f SET_OF_encode_xer;
vlmfa67ddc2004-06-03 03:38:44 +000030
31#endif /* _CONSTR_SET_OF_H_ */