summaryrefslogtreecommitdiffstats
path: root/maildir/loginexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'maildir/loginexec.h')
-rw-r--r--maildir/loginexec.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/maildir/loginexec.h b/maildir/loginexec.h
new file mode 100644
index 0000000..3bed7d4
--- /dev/null
+++ b/maildir/loginexec.h
@@ -0,0 +1,26 @@
+#ifndef loginexec_h
+#define loginexec_h
+
+/*
+** Copyright 2003 Double Precision, Inc.
+** See COPYING for distribution information.
+*/
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Check for a 'loginexec' executable in the current directory, if so
+ run it, then delete it if exit code zero */
+
+void maildir_loginexec(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif