Lines 75-81
Link Here
|
75 |
typedef struct { |
75 |
typedef struct { |
76 |
char *name; /* attribute name string */ |
76 |
char *name; /* attribute name string */ |
77 |
char *val; /* attribute value string */ |
77 |
char *val; /* attribute value string */ |
78 |
regexp *rex; /* attribute value reg expr (compiled) */ |
78 |
regex_t *rex; /* attribute value reg expr (compiled) */ |
79 |
} AttPair_t; |
79 |
} AttPair_t; |
80 |
|
80 |
|
81 |
typedef struct _Trans { |
81 |
typedef struct _Trans { |
Lines 83-101
Link Here
|
83 |
char *gi; /* element name of tag under consideration */ |
83 |
char *gi; /* element name of tag under consideration */ |
84 |
char **gilist; /* list of element names (multiple gi's) */ |
84 |
char **gilist; /* list of element names (multiple gi's) */ |
85 |
char *context; /* context in tree - looking depth levels up */ |
85 |
char *context; /* context in tree - looking depth levels up */ |
86 |
regexp *context_re; /* tree heirarchy looking depth levels up */ |
86 |
regex_t *context_re; /* tree heirarchy looking depth levels up */ |
87 |
int depth; /* number of levels to look up the tree */ |
87 |
int depth; /* number of levels to look up the tree */ |
88 |
AttPair_t *attpair; /* attr name-value pairs */ |
88 |
AttPair_t *attpair; /* attr name-value pairs */ |
89 |
int nattpairs; /* number of name-value pairs */ |
89 |
int nattpairs; /* number of name-value pairs */ |
90 |
char *parent; /* GI has this element as parent */ |
90 |
char *parent; /* GI has this element as parent */ |
91 |
int nth_child; /* GI is Nth child of this of parent element */ |
91 |
int nth_child; /* GI is Nth child of this of parent element */ |
92 |
char *content; /* element has this string in content */ |
92 |
char *content; /* element has this string in content */ |
93 |
regexp *content_re; /* content reg expr (compiled) */ |
93 |
regex_t *content_re; /* content reg expr (compiled) */ |
94 |
char *pattrset; /* is this attr set (any value) in parent? */ |
94 |
char *pattrset; /* is this attr set (any value) in parent? */ |
95 |
char *var_name; /* variable name */ |
95 |
char *var_name; /* variable name */ |
96 |
char *var_value; /* variable value */ |
96 |
char *var_value; /* variable value */ |
97 |
char *var_RE_name; /* variable name (for VarREValue) */ |
97 |
char *var_RE_name; /* variable name (for VarREValue) */ |
98 |
regexp *var_RE_value; /* variable value (compiled, for VarREValue) */ |
98 |
regex_t *var_RE_value; /* variable value (compiled, for VarREValue) */ |
99 |
Map_t *relations; /* various relations to check */ |
99 |
Map_t *relations; /* various relations to check */ |
100 |
|
100 |
|
101 |
/* actions */ |
101 |
/* actions */ |
Lines 150-153
Link Here
|
150 |
void OSFtable(Element_t *, FILE *, char **, int); |
150 |
void OSFtable(Element_t *, FILE *, char **, int); |
151 |
|
151 |
|
152 |
/* ______________________________________________________________________ */ |
152 |
/* ______________________________________________________________________ */ |
153 |
|
|
|