Blame src/asn1c/constr_SEQUENCE.h

Packit 728676
/*-
Packit 728676
 * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
Packit 728676
 * Redistribution and modifications are permitted subject to BSD license.
Packit 728676
 */
Packit 728676
#ifndef	_CONSTR_SEQUENCE_H_
Packit 728676
#define	_CONSTR_SEQUENCE_H_
Packit 728676
Packit 728676
#include <asn_application.h>
Packit 728676
Packit 728676
#ifdef __cplusplus
Packit 728676
extern "C" {
Packit 728676
#endif
Packit 728676
Packit 728676
typedef struct asn_SEQUENCE_specifics_s {
Packit 728676
	/*
Packit 728676
	 * Target structure description.
Packit 728676
	 */
Packit 728676
	int struct_size;	/* Size of the target structure. */
Packit 728676
	int ctx_offset;		/* Offset of the asn_struct_ctx_t member */
Packit 728676
Packit 728676
	/*
Packit 728676
	 * Tags to members mapping table (sorted).
Packit 728676
	 */
Packit 728676
	asn_TYPE_tag2member_t *tag2el;
Packit 728676
	int tag2el_count;
Packit 728676
Packit 728676
	/*
Packit 728676
	 * Optional members of the extensions root (roms) or additions (aoms).
Packit 728676
	 * Meaningful for PER.
Packit 728676
	 */
Packit 728676
	int *oms;		/* Optional MemberS */
Packit 728676
	int  roms_count;	/* Root optional members count */
Packit 728676
	int  aoms_count;	/* Additions optional members count */
Packit 728676
Packit 728676
	/*
Packit 728676
	 * Description of an extensions group.
Packit 728676
	 */
Packit 728676
	int ext_after;		/* Extensions start after this member */
Packit 728676
	int ext_before;		/* Extensions stop before this member */
Packit 728676
} asn_SEQUENCE_specifics_t;
Packit 728676
Packit 728676
Packit 728676
/*
Packit 728676
 * A set specialized functions dealing with the SEQUENCE type.
Packit 728676
 */
Packit 728676
asn_struct_free_f SEQUENCE_free;
Packit 728676
asn_struct_print_f SEQUENCE_print;
Packit 728676
asn_constr_check_f SEQUENCE_constraint;
Packit 728676
ber_type_decoder_f SEQUENCE_decode_ber;
Packit 728676
der_type_encoder_f SEQUENCE_encode_der;
Packit 728676
xer_type_decoder_f SEQUENCE_decode_xer;
Packit 728676
xer_type_encoder_f SEQUENCE_encode_xer;
Packit 728676
per_type_decoder_f SEQUENCE_decode_uper;
Packit 728676
per_type_encoder_f SEQUENCE_encode_uper;
Packit 728676
Packit 728676
#ifdef __cplusplus
Packit 728676
}
Packit 728676
#endif
Packit 728676
Packit 728676
#endif	/* _CONSTR_SEQUENCE_H_ */