Plugins now run in a forked process for extra resliance.

This commit is contained in:
Roy Marples
2007-04-20 09:39:47 +00:00
parent 49b8b30ab7
commit f269f1961b
5 changed files with 75 additions and 10 deletions

View File

@@ -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. */