Merge github.com:eclipse/titan.core
[deliverable/titan.core.git] / compiler2 / asn1 / asn1p_old.h
1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Balasko, Jeno
10 * Forstner, Matyas
11 * Kremer, Peter
12 * Szabados, Kristof
13 * Szabo, Janos Zoltan – initial implementation
14 *
15 ******************************************************************************/
16 #ifndef _ASN1P_H
17 #define _ASN1P_H
18
19 #include <sys/types.h>
20
21 typedef struct {
22 const char *dispname; /**< is like "@...foo.bar" */
23 size_t parent_level; /**< 0 means outermost. */
24 const char *parent_typename;
25 const char *type_name;
26 char *sourcecode; /**< to access the field */
27 } AtNotation_t;
28
29 typedef struct {
30 size_t nElements;
31 AtNotation_t *elements;
32 } AtNotationList_t;
33
34 typedef struct {
35 const char *alt; /* alternative */
36 const char *alt_dispname;
37 const char *alt_typename;
38 const char *alt_typedescrname;
39 const char **valuenames; /* !!! */
40 const char **const_valuenames; /** this replaces valuenames in new
41 BER stuff */
42 } OpentypeAlternative_t;
43
44 typedef struct {
45 size_t nElements;
46 OpentypeAlternative_t *elements;
47 } OpentypeAlternativeList_t;
48
49 typedef struct {
50 AtNotationList_t anl;
51 OpentypeAlternativeList_t oal;
52 } Opentype_t;
53
54 #endif /* _ASN1P_H */
This page took 0.207943 seconds and 5 git commands to generate.