summaryrefslogtreecommitdiff
path: root/src/log-mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log-mode.h')
-rw-r--r--src/log-mode.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/log-mode.h b/src/log-mode.h
new file mode 100644
index 00000000..65e39e0a
--- /dev/null
+++ b/src/log-mode.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2015 Alexandros Frantzis
+ * Author: Alexandros Frantzis <alexandros.frantzis@canonical.com>
+ *
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
+ * license.
+ */
+
+#ifndef LOG_MODE_H_
+#define LOG_MODE_H_
+
+typedef enum
+{
+ LOG_MODE_INVALID = -1,
+ LOG_MODE_BACKUP_AND_TRUNCATE,
+ LOG_MODE_APPEND
+} LogMode;
+
+#endif /* !LOD_MODE_H_ */