141 |
void *data; |
void *data; |
142 |
}; |
}; |
143 |
|
|
144 |
|
/* Section priorities affect linking the user-defined sections to |
145 |
|
the parse tree left from parsing the system configuration file. */ |
146 |
|
enum section_prio { |
147 |
|
prio_override, /* Only user-defined section is taken into account */ |
148 |
|
prio_system, /* System-defined section first, user-defined next */ |
149 |
|
prio_user /* User-defined section first, system-defined next */ |
150 |
|
}; |
151 |
|
|
152 |
struct rc_secdef { |
struct rc_secdef { |
153 |
char *name; |
char *name; /* Section name */ |
154 |
int allow_prog; |
enum section_prio prio; /* Execution priority */ |
155 |
|
int allow_prog; /* Are rules allowed in this section? */ |
156 |
struct rc_secdef_child *child; |
struct rc_secdef_child *child; |
157 |
}; |
}; |
158 |
|
|