summaryrefslogtreecommitdiffstats
path: root/src/libply/ply-utils.h
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-06-03 22:58:01 -0400
committerRay Strode <rstrode@redhat.com>2008-06-03 22:58:01 -0400
commit459b8cc09ae362637df47a592f476143a50131c3 (patch)
treeb6de74b6e6f8e8160db8dff1c856a5afa818a223 /src/libply/ply-utils.h
parent25507b1cf42df9fa1e812a606f3f5effe359054b (diff)
downloadplymouth-459b8cc09ae362637df47a592f476143a50131c3.tar.gz
plymouth-459b8cc09ae362637df47a592f476143a50131c3.tar.xz
plymouth-459b8cc09ae362637df47a592f476143a50131c3.zip
Daemonize after starting boot server
Previously we would daemonize when spawning the terminal session. We don't do that now, since we attach to an existing already running terminal session.
Diffstat (limited to 'src/libply/ply-utils.h')
-rw-r--r--src/libply/ply-utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libply/ply-utils.h b/src/libply/ply-utils.h
index 3e2265a..e9803c9 100644
--- a/src/libply/ply-utils.h
+++ b/src/libply/ply-utils.h
@@ -41,6 +41,8 @@
typedef intptr_t ply_module_handle_t;
typedef void (* ply_module_function_t) (void);
+typedef intptr_t ply_daemon_handle_t;
+
#ifndef PLY_HIDE_FUNCTION_DECLARATIONS
bool ply_open_unidirectional_pipe (int *sender_fd,
int *receiver_fd);
@@ -86,6 +88,11 @@ int ply_detach_directory (const char *directory);
bool ply_copy_file (const char *source, const char *destination);
bool ply_copy_directory (const char *source, const char *destination);
bool ply_unmount_filesystem (const char *directory);
+
+ply_daemon_handle_t *ply_create_daemon (void);
+bool ply_detach_daemon (ply_daemon_handle_t *handle,
+ int exit_code);
+
#endif
#endif /* PLY_UTILS_H */