diff options
Diffstat (limited to 'src/pies.h')
-rw-r--r-- | src/pies.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -56,6 +56,7 @@ | |||
56 | #include "identity.h" | 56 | #include "identity.h" |
57 | #include "acl.h" | 57 | #include "acl.h" |
58 | #include "libpies.h" | 58 | #include "libpies.h" |
59 | #include "json.h" | ||
59 | 60 | ||
60 | #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) | 61 | #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) |
61 | 62 | ||
@@ -515,6 +516,9 @@ void sysvinit_runlevel_setup (int mask, int *wait); | |||
515 | void sysvinit_sysdep_begin (void); | 516 | void sysvinit_sysdep_begin (void); |
516 | void sysvinit_power (void); | 517 | void sysvinit_power (void); |
517 | 518 | ||
519 | void sysvinit_report (struct json_value *obj); | ||
520 | int sysvinit_set_runlevel (int newlevel); | ||
521 | |||
518 | extern char *sysvinit_environ_hint[]; | 522 | extern char *sysvinit_environ_hint[]; |
519 | extern char *init_fifo; | 523 | extern char *init_fifo; |
520 | 524 | ||
@@ -578,3 +582,8 @@ struct control | |||
578 | extern struct control control; | 582 | extern struct control control; |
579 | 583 | ||
580 | int ctl_open(void); | 584 | int ctl_open(void); |
585 | |||
586 | void json_object_set_string (struct json_value *obj, | ||
587 | char const *name, char const *fmt, ...); | ||
588 | void json_object_set_number (struct json_value *obj, | ||
589 | char const *name, double val); | ||