144 |
/* Section priorities affect linking the user-defined sections to |
/* Section priorities affect linking the user-defined sections to |
145 |
the parse tree left from parsing the system configuration file. */ |
the parse tree left from parsing the system configuration file. */ |
146 |
enum section_prio { |
enum section_prio { |
147 |
prio_override, /* Only user-defined section is taken into account */ |
prio_user_only, /* Only user-defined section is taken into account */ |
148 |
|
prio_system_only,/* Only system-defined section */ |
149 |
prio_system, /* System-defined section first, user-defined next */ |
prio_system, /* System-defined section first, user-defined next */ |
150 |
prio_user /* User-defined section first, system-defined next */ |
prio_user /* User-defined section first, system-defined next */ |
151 |
}; |
}; |
171 |
void rc_section_link(RC_SECTION **, RC_SECTION *); |
void rc_section_link(RC_SECTION **, RC_SECTION *); |
172 |
void rc_secdef_add_child(struct rc_secdef *, struct rc_secdef_child *); |
void rc_secdef_add_child(struct rc_secdef *, struct rc_secdef_child *); |
173 |
RC_SECTION *rc_parse(char *); |
RC_SECTION *rc_parse(char *); |
174 |
void rc_section_list_destroy(RC_SECTION *); |
void rc_section_list_destroy(RC_SECTION **); |
175 |
int rc_run_cond(char *, int, char *); |
int rc_run_cond(char *, int, char *); |
176 |
void rc_run_section_list(int, RC_SECTION *, struct rc_secdef *); |
void rc_run_section_list(int, RC_SECTION *, struct rc_secdef *); |
177 |
void rc_run_section(int, RC_SECTION *, struct rc_secdef *, void *, MESSAGE *); |
void rc_run_section(int, RC_SECTION *, struct rc_secdef *, void *, MESSAGE *); |