aboutsummaryrefslogtreecommitdiff
path: root/src/pies.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.h')
-rw-r--r--src/pies.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/pies.h b/src/pies.h
index ad8e8ee..39977c7 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -272,3 +272,4 @@ enum pies_action {
272 ACTION_CTRLALTDEL, 272 ACTION_CTRLALTDEL,
273 ACTION_KBREQUEST 273 ACTION_KBREQUEST,
274 ACTION_POWER
274}; 275};
@@ -318,3 +319,3 @@ void free_action (struct action *act);
318void register_prog (struct component *comp); 319void register_prog (struct component *comp);
319int progman_running_p (void); 320int progman_waiting_p (void);
320size_t progman_running_count (void); 321size_t progman_running_count (void);
@@ -515,2 +516,3 @@ void sysvinit_runlevel_setup (int mask, int *wait);
515void sysvinit_sysdep_begin (void); 516void sysvinit_sysdep_begin (void);
517void sysvinit_power (void);
516 518
@@ -523,2 +525,12 @@ extern char *init_fifo;
523 525
526#ifndef POWER_STAT_FILE
527# define POWER_STAT_FILE "/var/run/powerstatus"
528#endif
529
530/* Power status values */
531#define POWER_STAT_FAIL 'F'
532#define POWER_STAT_LOW 'L'
533#define POWER_STAT_OK 'O'
534
535/* Request codes */
524#define INIT_MAGIC 0x03091969 536#define INIT_MAGIC 0x03091969

Return to:

Send suggestions and report system problems to the System administrator.