blob: bcd09662906b69e5ac5cfec82c8a47b47ab3f351 [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
vlm3a417582005-07-24 09:03:44 +000010#ifdef __cplusplus
11extern "C" {
12#endif
13
vlmef6355b2004-09-29 13:26:15 +000014typedef struct asn_SET_OF_specifics_s {
vlmfa67ddc2004-06-03 03:38:44 +000015 /*
16 * Target structure description.
17 */
18 int struct_size; /* Size of the target structure. */
vlmef6355b2004-09-29 13:26:15 +000019 int ctx_offset; /* Offset of the asn_struct_ctx_t member */
vlm39ba4c42004-09-22 16:06:28 +000020
21 /* XER-specific stuff */
22 int as_XMLValueList; /* The member type must be encoded like this */
vlmef6355b2004-09-29 13:26:15 +000023} asn_SET_OF_specifics_t;
vlmfa67ddc2004-06-03 03:38:44 +000024
25/*
26 * A set specialized functions dealing with the SET OF type.
27 */
vlm39ba4c42004-09-22 16:06:28 +000028asn_struct_free_f SET_OF_free;
29asn_struct_print_f SET_OF_print;
vlmfa67ddc2004-06-03 03:38:44 +000030asn_constr_check_f SET_OF_constraint;
31ber_type_decoder_f SET_OF_decode_ber;
32der_type_encoder_f SET_OF_encode_der;
vlm5f4f4a82005-02-14 20:15:40 +000033xer_type_decoder_f SET_OF_decode_xer;
vlm39ba4c42004-09-22 16:06:28 +000034xer_type_encoder_f SET_OF_encode_xer;
vlm337167e2005-11-26 11:25:14 +000035per_type_decoder_f SET_OF_decode_uper;
vlm18dd82c2006-08-18 01:34:18 +000036per_type_encoder_f SET_OF_encode_uper;
vlmfa67ddc2004-06-03 03:38:44 +000037
vlm3a417582005-07-24 09:03:44 +000038#ifdef __cplusplus
39}
40#endif
41
vlmfa67ddc2004-06-03 03:38:44 +000042#endif /* _CONSTR_SET_OF_H_ */