aboutsummaryrefslogtreecommitdiff
path: root/src/rc-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-plugin.h')
-rw-r--r--src/rc-plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rc-plugin.h b/src/rc-plugin.h
index 15d46213..b15a11c7 100644
--- a/src/rc-plugin.h
+++ b/src/rc-plugin.h
@@ -8,6 +8,10 @@
#ifndef __LIBRC_PLUGIN_H__
#define __LIBRC_PLUGIN_H__
+/* A simple flag to say if we're in a plugin proccess or not.
+ * Mainly used in atexit code. */
+extern bool rc_in_plugin;
+
void rc_plugin_load ();
void rc_plugin_unload ();
void rc_plugin_run (rc_hook_t, const char *value);