]>
Commit | Line | Data |
---|---|---|
1 | # ifndef FORWARDTYPES_H | |
2 | # define FORWARDTYPES_H | |
3 | ||
4 | # include "lclForwardTypes.h" | |
5 | ||
6 | # ifdef WIN32 | |
7 | /* Microsoft doesn't support ISO C99 yet */ | |
8 | /*@-namechecks@*/ | |
9 | typedef int bool; | |
10 | /*@=namechecks@*/ | |
11 | # endif | |
12 | ||
13 | abst_typedef /*@null@*/ struct s_sRef *sRef; | |
14 | abst_typedef /*@null@*/ struct s_uentry *uentry; | |
15 | typedef struct s_hashNode *hashNode; | |
16 | immut_typedef int typeIdSet; | |
17 | typedef /*@only@*/ uentry o_uentry; | |
18 | abst_typedef struct s_mttok *mttok; | |
19 | abst_typedef /*@null@*/ struct s_idDecl *idDecl; | |
20 | abst_typedef /*@null@*/ struct s_usymtab *usymtab; | |
21 | abst_typedef /*@null@*/ struct s_exprNode *exprNode; | |
22 | abst_typedef /*@null@*/ struct s_guardSet *guardSet; | |
23 | abst_typedef /*@null@*/ struct s_sRefSet *sRefSet; | |
24 | abst_typedef /*@null@*/ struct s_sRefList *sRefList ; | |
25 | abst_typedef /*@null@*/ struct s_aliasTable *aliasTable; | |
26 | abst_typedef /*@null@*/ struct s_fileloc *fileloc; | |
27 | abst_typedef /*@null@*/ struct s_cstringTable *cstringTable; | |
28 | abst_typedef /*@null@*/ struct s_genericTable *genericTable; | |
29 | abst_typedef /*@null@*/ struct s_annotationInfo *annotationInfo; | |
30 | abst_typedef /*@null@*/ struct s_inputStream *inputStream; | |
31 | abst_typedef /*@null@*/ struct s_stateValue *stateValue; | |
32 | abst_typedef /*@null@*/ struct s_pointers *pointers; | |
33 | abst_typedef /*@null@*/ genericTable valueTable; | |
34 | abst_typedef /*@null@*/ genericTable metaStateTable; | |
35 | abst_typedef /*@null@*/ genericTable annotationTable; | |
36 | abst_typedef /*@null@*/ struct s_metaStateInfo *metaStateInfo; | |
37 | ||
38 | abst_typedef /*@null@*/ struct s_functionConstraint *functionConstraint; | |
39 | abst_typedef struct s_metaStateConstraint *metaStateConstraint; | |
40 | abst_typedef /*@null@*/ struct s_metaStateConstraintList *metaStateConstraintList ; | |
41 | abst_typedef struct s_metaStateSpecifier *metaStateSpecifier; | |
42 | abst_typedef /*@null@*/ struct s_metaStateExpression *metaStateExpression; | |
43 | ||
44 | abst_typedef /*@null@*/ struct s_functionClause *functionClause; | |
45 | abst_typedef /*@null@*/ struct s_functionClauseList *functionClauseList; | |
46 | ||
47 | abst_typedef struct s_globalsClause *globalsClause; | |
48 | abst_typedef struct s_modifiesClause *modifiesClause; | |
49 | abst_typedef /*@null@*/ struct s_warnClause *warnClause; | |
50 | abst_typedef struct s_stateClause *stateClause; | |
51 | ||
52 | abst_typedef /*@null@*/ struct s_stateClauseList *stateClauseList; | |
53 | ||
54 | /* The mt grammar nodes: */ | |
55 | abst_typedef struct s_mtDeclarationNode *mtDeclarationNode; | |
56 | abst_typedef /*@null@*/ struct s_mtDeclarationPiece *mtDeclarationPiece; | |
57 | abst_typedef /*@null@*/ struct s_mtDeclarationPieces *mtDeclarationPieces; | |
58 | abst_typedef /*@null@*/ struct s_mtContextNode *mtContextNode; | |
59 | abst_typedef struct s_mtValuesNode *mtValuesNode; | |
60 | abst_typedef struct s_mtDefaultsNode *mtDefaultsNode; | |
61 | abst_typedef /*@null@*/ struct s_mtDefaultsDeclList *mtDefaultsDeclList; | |
62 | abst_typedef struct s_mtDefaultsDecl *mtDefaultsDecl; | |
63 | abst_typedef struct s_mtAnnotationsNode *mtAnnotationsNode; | |
64 | abst_typedef /*@null@*/ struct s_mtAnnotationList *mtAnnotationList; | |
65 | abst_typedef struct s_mtAnnotationDecl *mtAnnotationDecl; | |
66 | abst_typedef struct s_mtMergeNode *mtMergeNode; | |
67 | abst_typedef struct s_mtMergeItem *mtMergeItem; | |
68 | abst_typedef /*@null@*/ struct s_mtMergeClauseList *mtMergeClauseList; | |
69 | abst_typedef struct s_mtMergeClause *mtMergeClause; | |
70 | abst_typedef /*@null@*/ struct s_mtTransferClauseList *mtTransferClauseList; | |
71 | abst_typedef struct s_mtTransferClause *mtTransferClause; | |
72 | abst_typedef /*@null@*/ struct s_mtLoseReferenceList *mtLoseReferenceList; | |
73 | abst_typedef struct s_mtLoseReference *mtLoseReference; | |
74 | abst_typedef struct s_mtTransferAction *mtTransferAction; | |
75 | abst_typedef sRefSet globSet; | |
76 | ||
77 | abst_typedef /*@null@*/ struct s_constraint *constraint; | |
78 | abst_typedef /*@null@*/ struct s_constraintList *constraintList; | |
79 | ||
80 | abst_typedef /*@null@*/ struct s_ctypeList *ctypeList; | |
81 | abst_typedef /*@null@*/ ctypeList fileIdList; | |
82 | ||
83 | /* DRL modified 9 26 00 */ | |
84 | ||
85 | abst_typedef /*@null@*/ struct s_constraintExpr *constraintExpr; | |
86 | ||
87 | abst_typedef /*@null@*/ char *cstring; | |
88 | typedef /*@only@*/ cstring o_cstring; | |
89 | ||
90 | abst_typedef /*@null@*/ struct s_cstringSList *cstringSList; | |
91 | ||
92 | typedef enum e_LSLInitRuleCode LSLInitRuleCode; | |
93 | ||
94 | immut_typedef int ctype; | |
95 | ||
96 | /* sRef -> bool */ | |
97 | typedef bool (*sRefTest) (sRef); | |
98 | ||
99 | /* sRef, fileloc -> void; modifies sRef */ | |
100 | typedef void (*sRefMod) (sRef, fileloc); | |
101 | ||
102 | /* sRef, int, fileloc -> void; modifies sRef */ | |
103 | typedef void (*sRefModVal) (sRef, int, fileloc); | |
104 | ||
105 | /* sRef -> void */ | |
106 | typedef void (*sRefShower) (sRef); | |
107 | ||
108 | # else | |
109 | # error "Multiple include" | |
110 | # endif | |
111 | ||
112 | ||
113 | ||
114 |