aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc.h')
-rw-r--r--src/rc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rc.h b/src/rc.h
index dbe7147b..56d92eaf 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -149,6 +149,10 @@ typedef enum
rc_hook_service_start_out
} rc_hook_t;
+/* Plugins should write FOO=BAR to this fd to set any environment variables
+ * they wish. At this time we only support the setting of one env var. */
+extern FILE *rc_environ_fd;
+
/* RC utility functions.
Although not directly related to RC in general, they are used by RC
itself and the supporting applications. */