1 2 3 4 5 6 7 8 9 10 11 12 13 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;