aboutsummaryrefslogtreecommitdiff
path: root/src/librc/rc.h.in
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-07-18 17:29:21 +0200
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-07-20 03:15:17 +0200
commitc3ccaeeddc4d92bfe34cedaa6b71cb6e830fe280 (patch)
tree926df7c4c604381f4d7b7b9ebccfa13bacefa3d7 /src/librc/rc.h.in
parent18be0d77dc00d2e9faa7d8718e80a2f137ec0bf7 (diff)
librc, openrc-pam: instantiate user.<username> service automatically
it's created in /run/openrc/dynamic and linked to the service in /etc at login. Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'src/librc/rc.h.in')
-rw-r--r--src/librc/rc.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index 59fdfda3..794b4353 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -275,6 +275,16 @@ RC_STRINGLIST *rc_service_extra_commands(const char *);
* @return pointer to full path of service */
char *rc_service_resolve(const char *);
+/*! Gets the base service for a multiplexed service
+ * @param multiplexed service to check
+ * @return pointer to base service name or NULL if not multiplexed */
+char *rc_service_base(const char *);
+
+/*! Dynamically multiplexes a service into the runtime directory.
+ * @param service to link
+ * @param target service name */
+char *rc_service_dylink(const char *, const char *);
+
/*! Schedule a service to be started when another service starts
* @param service that starts the scheduled service when started
* @param service_to_start service that will be started */