aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-20 09:39:47 +0000
committerRoy Marples <roy@marples.name>2007-04-20 09:39:47 +0000
commitf269f1961b0b4adc094093301f712294a45dccc8 (patch)
tree4a9777b44c61fd7d04658bed2e8544d584a61ce0 /src/rc.h
parent49b8b30ab7e35d8ad3cbe295eba3a93ba21a3509 (diff)
Plugins now run in a forked process for extra resliance.
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. */