~ubuntu-branches/ubuntu/dapper/asn1c/dapper

« back to all changes in this revision

Viewing changes to skeletons/constr_SEQUENCE.h

  • Committer: Bazaar Package Importer
  • Author(s): W. Borgert
  • Date: 2005-05-28 12:36:42 UTC
  • Revision ID: james.westby@ubuntu.com-20050528123642-3h6kstws5u0xcovl
Tags: upstream-0.9.14
ImportĀ upstreamĀ versionĀ 0.9.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-
 
2
 * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
 
3
 * Redistribution and modifications are permitted subject to BSD license.
 
4
 */
 
5
#ifndef _CONSTR_SEQUENCE_H_
 
6
#define _CONSTR_SEQUENCE_H_
 
7
 
 
8
#include <asn_application.h>
 
9
 
 
10
typedef struct asn_SEQUENCE_specifics_s {
 
11
        /*
 
12
         * Target structure description.
 
13
         */
 
14
        int struct_size;        /* Size of the target structure. */
 
15
        int ctx_offset;         /* Offset of the asn_struct_ctx_t member */
 
16
 
 
17
        /*
 
18
         * Tags to members mapping table (sorted).
 
19
         */
 
20
        asn_TYPE_tag2member_t *tag2el;
 
21
        int tag2el_count;
 
22
 
 
23
        /*
 
24
         * Description of an extensions group.
 
25
         */
 
26
        int ext_after;  /* Extensions start after this member */
 
27
        int ext_before; /* Extensions stop before this member */
 
28
} asn_SEQUENCE_specifics_t;
 
29
 
 
30
 
 
31
/*
 
32
 * A set specialized functions dealing with the SEQUENCE type.
 
33
 */
 
34
asn_struct_free_f SEQUENCE_free;
 
35
asn_struct_print_f SEQUENCE_print;
 
36
asn_constr_check_f SEQUENCE_constraint;
 
37
ber_type_decoder_f SEQUENCE_decode_ber;
 
38
der_type_encoder_f SEQUENCE_encode_der;
 
39
xer_type_decoder_f SEQUENCE_decode_xer;
 
40
xer_type_encoder_f SEQUENCE_encode_xer;
 
41
 
 
42
#endif  /* _CONSTR_SEQUENCE_H_ */