Compiler food.
[nssm.git] / nssm.h
diff --git a/nssm.h b/nssm.h
index 6edfedf..1ee4ae2 100644 (file)
--- a/nssm.h
+++ b/nssm.h
@@ -16,6 +16,7 @@
 #include "gui.h"\r
 \r
 int str_equiv(const char *, const char *);\r
+void strip_basename(char *);\r
 \r
 #define NSSM "nssm"\r
 #define NSSM_VERSION "2.18"\r
@@ -53,6 +54,13 @@ int str_equiv(const char *, const char *);
 #define NSSM_STOP_METHOD_THREADS (1 << 2)\r
 #define NSSM_STOP_METHOD_TERMINATE (1 << 3)\r
 \r
+/* Exit actions. */\r
+#define NSSM_EXIT_RESTART 0\r
+#define NSSM_EXIT_IGNORE 1\r
+#define NSSM_EXIT_REALLY 2\r
+#define NSSM_EXIT_UNCLEAN 3\r
+#define NSSM_NUM_EXIT_ACTIONS 4\r
+\r
 /* How many milliseconds to wait before updating service status. */\r
 #define NSSM_SERVICE_STATUS_DEADLINE 20000\r
 \r