summaryrefslogtreecommitdiffabout
path: root/src/pies.h
Side-by-side diff
Diffstat (limited to 'src/pies.h') (more/less context) (show whitespace changes)
-rw-r--r--src/pies.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pies.h b/src/pies.h
index a7f6567..bdc406b 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -138,6 +138,13 @@ enum pies_comp_mode
`start_action = pass' in MeTA1. */
pies_comp_pass_fd,
+ /* Components of this type runs once on program startup. Running other
+ components is delayed until the last startup component finishes. */
+ pies_comp_startup,
+
+ /* FIXME: Runs before program termination */
+ pies_comp_shutdown,
+
/*
** Init-style components
*/
@@ -334,6 +341,7 @@ int pies_read_config (void);
int pies_reread_config (void);
void register_prog (struct component *comp);
+void program_init_startup (void);
int progman_waiting_p (void);
void progman_start (void);
void progman_gc (void);

Return to:

Send suggestions and report system problems to the System administrator.