aboutsummaryrefslogtreecommitdiff
path: root/user-notification.h
diff options
context:
space:
mode:
Diffstat (limited to 'user-notification.h')
-rw-r--r--user-notification.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/user-notification.h b/user-notification.h
new file mode 100644
index 00000000..dada7fbe
--- /dev/null
+++ b/user-notification.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <tllist.h>
+
+struct user_notification {
+ enum {
+ USER_NOTIFICATION_DEPRECATED,
+ USER_NOTIFICATION_WARNING,
+ USER_NOTIFICATION_ERROR,
+ } kind;
+ char *text;
+};
+
+typedef tll(struct user_notification) user_notifications_t;