~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/dialyzer/test/r9c_SUITE_data/src/asn1/asn1_records.hrl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%% ``The contents of this file are subject to the Erlang Public License,
 
2
%% Version 1.1, (the "License"); you may not use this file except in
 
3
%% compliance with the License. You should have received a copy of the
 
4
%% Erlang Public License along with this software. If not, it can be
 
5
%% retrieved via the world wide web at http://www.erlang.org/.
 
6
%%
 
7
%% Software distributed under the License is distributed on an "AS IS"
 
8
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
9
%% the License for the specific language governing rights and limitations
 
10
%% under the License.
 
11
%%
 
12
%% The Initial Developer of the Original Code is Ericsson Utvecklings AB.
 
13
%% Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
 
14
%% AB. All Rights Reserved.''
 
15
%%
 
16
%%     $Id: asn1_records.hrl,v 1.1 2008/12/17 09:53:29 mikpe Exp $
 
17
%%
 
18
-define('RT_BER',"asn1rt_ber_v1").
 
19
-define('RT_BER_BIN',"asn1rt_ber_bin").
 
20
-define('RT_PER',"asn1rt_per_v1").
 
21
%% change to this when we have this module -define('RT_PER_BIN',"asn1rt_per_bin").
 
22
-define('RT_PER_BIN',"asn1rt_per_bin").
 
23
 
 
24
-record(module,{pos,name,defid,tagdefault='EXPLICIT',exports={exports,[]},imports={imports,[]}, extensiondefault=empty,typeorval}).
 
25
 
 
26
-record('SEQUENCE',{pname=false,tablecinf=false,components=[]}).
 
27
-record('SET',{pname=false,sorted=false,tablecinf=false,components=[]}).
 
28
-record('ComponentType',{pos,name,typespec,prop,tags}).
 
29
-record('ObjectClassFieldType',{classname,class,fieldname,type}).
 
30
 
 
31
-record(typedef,{checked=false,pos,name,typespec}).
 
32
-record(classdef,{checked=false,pos,name,typespec}).
 
33
-record(valuedef,{checked=false,pos,name,type,value}).
 
34
-record(ptypedef,{checked=false,pos,name,args,typespec}).
 
35
-record(pvaluedef,{checked=false,pos,name,args,type,value}).
 
36
-record(pvaluesetdef,{checked=false,pos,name,args,type,valueset}).
 
37
-record(pobjectdef,{checked=false,pos,name,args,class,def}).
 
38
-record(pobjectsetdef,{checked=false,pos,name,args,class,def}).
 
39
 
 
40
-record(typereference,{pos,val}).
 
41
-record(identifier,{pos,val}).
 
42
-record(constraint,{c,e}).
 
43
-record('Constraint',{'SingleValue'=no,'SizeConstraint'=no,'ValueRange'=no,'PermittedAlphabet'=no,
 
44
                      'ContainedSubtype'=no, 'TypeConstraint'=no,'InnerSubtyping'=no,e=no,'Other'=no}).
 
45
-record(simpletableattributes,{objectsetname,c_name,c_index,usedclassfield,
 
46
                               uniqueclassfield,valueindex}).
 
47
-record(type,{tag=[],def,constraint=[],tablecinf=[],inlined=no}).
 
48
 
 
49
-record(objectclass,{fields=[],syntax}).
 
50
-record('Object',{classname,gen=true,def}).
 
51
-record('ObjectSet',{class,gen=true,uniquefname,set}).
 
52
 
 
53
-record(tag,{class,number,type,form=32}). % form = ?CONSTRUCTED
 
54
% This record holds information about allowed constraint types per type
 
55
-record(cmap,{single_value=no,contained_subtype=no,value_range=no,
 
56
                size=no,permitted_alphabet=no,type_constraint=no,
 
57
                inner_subtyping=no}).
 
58
 
 
59
 
 
60
-record('EXTENSIONMARK',{pos,val}).
 
61
 
 
62
% each IMPORT contains a list of 'SymbolsFromModule'
 
63
-record('SymbolsFromModule',{symbols,module,objid}).
 
64
 
 
65
% Externaltypereference -> modulename '.' typename
 
66
-record('Externaltypereference',{pos,module,type}).
 
67
% Externalvaluereference -> modulename '.' typename
 
68
-record('Externalvaluereference',{pos,module,value}).
 
69
 
 
70
-record(state,{module,mname,type,tname,value,vname,erule,parameters=[],
 
71
               inputmodules,abscomppath=[],recordtopname=[],options}).
 
72
 
 
73
%% state record used by backend at partial decode
 
74
%% active is set to 'yes' when a partial decode function is generated.
 
75
%% prefix is set to 'dec-inc-' or 'dec-partial-' is for
 
76
%% incomplete partial decode or partial decode respectively
 
77
%% inc_tag_pattern holds the tags of the significant types/components
 
78
%% for incomplete partial decode.
 
79
%% tag_pattern holds the tags for partial decode.
 
80
%% inc_type_pattern and type_pattern holds the names of the
 
81
%% significant types/components.
 
82
%% func_name holds the name of the function for the toptype.
 
83
%% namelist holds the list of names of types/components that still
 
84
%% haven't been generated.
 
85
%% tobe_refed_funcs is a list of tuples {function names
 
86
%% (Types),namelist of incomplete decode spec}, with function names
 
87
%% that are referenced within other generated partial incomplete
 
88
%% decode functions. They shall be generated as partial incomplete
 
89
%% decode functions.
 
90
 
 
91
%% gen_refed_funcs is as list of function names. Unlike
 
92
%% tobe_refed_funcs these have been generated.
 
93
-record(gen_state,{active=false,prefix,inc_tag_pattern,
 
94
                  tag_pattern,inc_type_pattern,
 
95
                  type_pattern,func_name,namelist,
 
96
                  tobe_refed_funcs=[],gen_refed_funcs=[]}).