
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include "gl-enums.h"
#include "gl-categorylist.h"
#include "gl-eventtoolbar.h"
#include "gl-eventviewrow.h"
#include "gl-journal-model.h"
#include "gl-searchpopover.h"
#include "gl-util.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "gl-categorylist.h" */

GType
gl_category_list_filter_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_CATEGORY_LIST_FILTER_IMPORTANT), "GL_CATEGORY_LIST_FILTER_IMPORTANT", "important" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_ALERTS), "GL_CATEGORY_LIST_FILTER_ALERTS", "alerts" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_STARRED), "GL_CATEGORY_LIST_FILTER_STARRED", "starred" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_ALL), "GL_CATEGORY_LIST_FILTER_ALL", "all" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_APPLICATIONS), "GL_CATEGORY_LIST_FILTER_APPLICATIONS", "applications" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_SYSTEM), "GL_CATEGORY_LIST_FILTER_SYSTEM", "system" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_SECURITY), "GL_CATEGORY_LIST_FILTER_SECURITY", "security" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_HARDWARE), "GL_CATEGORY_LIST_FILTER_HARDWARE", "hardware" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_UPDATES), "GL_CATEGORY_LIST_FILTER_UPDATES", "updates" },
        { C_ENUM (GL_CATEGORY_LIST_FILTER_USAGE), "GL_CATEGORY_LIST_FILTER_USAGE", "usage" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlCategoryListFilter"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gl-eventtoolbar.h" */

GType
gl_event_toolbar_mode_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_EVENT_TOOLBAR_MODE_LIST), "GL_EVENT_TOOLBAR_MODE_LIST", "list" },
        { C_ENUM (GL_EVENT_TOOLBAR_MODE_DETAIL), "GL_EVENT_TOOLBAR_MODE_DETAIL", "detail" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlEventToolbarMode"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gl-eventviewrow.h" */

GType
gl_event_view_row_category_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_EVENT_VIEW_ROW_CATEGORY_NONE), "GL_EVENT_VIEW_ROW_CATEGORY_NONE", "none" },
        { C_ENUM (GL_EVENT_VIEW_ROW_CATEGORY_IMPORTANT), "GL_EVENT_VIEW_ROW_CATEGORY_IMPORTANT", "important" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlEventViewRowCategory"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gl-journal-model.h" */

GType
gl_query_search_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_QUERY_SEARCH_TYPE_SUBSTRING), "GL_QUERY_SEARCH_TYPE_SUBSTRING", "substring" },
        { C_ENUM (GL_QUERY_SEARCH_TYPE_EXACT), "GL_QUERY_SEARCH_TYPE_EXACT", "exact" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlQuerySearchType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gl_row_entry_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_ROW_ENTRY_TYPE_UNCOMPRESSED), "GL_ROW_ENTRY_TYPE_UNCOMPRESSED", "uncompressed" },
        { C_ENUM (GL_ROW_ENTRY_TYPE_COMPRESSED), "GL_ROW_ENTRY_TYPE_COMPRESSED", "compressed" },
        { C_ENUM (GL_ROW_ENTRY_TYPE_HEADER), "GL_ROW_ENTRY_TYPE_HEADER", "header" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlRowEntryType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gl-searchpopover.h" */

GType
gl_search_popover_journal_field_filter_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_ALL_AVAILABLE_FIELDS), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_ALL_AVAILABLE_FIELDS", "all-available-fields" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_PID), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_PID", "pid" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_UID), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_UID", "uid" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_GID), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_GID", "gid" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_MESSAGE), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_MESSAGE", "message" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_PROCESS_NAME), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_PROCESS_NAME", "process-name" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_SYSTEMD_UNIT), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_SYSTEMD_UNIT", "systemd-unit" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_KERNEL_DEVICE), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_KERNEL_DEVICE", "kernel-device" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_AUDIT_SESSION), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_AUDIT_SESSION", "audit-session" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_EXECUTABLE_PATH), "GL_SEARCH_POPOVER_JOURNAL_FIELD_FILTER_EXECUTABLE_PATH", "executable-path" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlSearchPopoverJournalFieldFilter"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gl_search_popover_journal_timestamp_range_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_CURRENT_BOOT), "GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_CURRENT_BOOT", "current-boot" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_PREVIOUS_BOOT), "GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_PREVIOUS_BOOT", "previous-boot" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_TODAY), "GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_TODAY", "today" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_YESTERDAY), "GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_YESTERDAY", "yesterday" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_LAST_3_DAYS), "GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_LAST_3_DAYS", "last-3-days" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_ENTIRE_JOURNAL), "GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_ENTIRE_JOURNAL", "entire-journal" },
        { C_ENUM (GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_CUSTOM), "GL_SEARCH_POPOVER_JOURNAL_TIMESTAMP_RANGE_CUSTOM", "custom" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlSearchPopoverJournalTimestampRange"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gl-util.h" */

GType
gl_util_clock_format_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_UTIL_CLOCK_FORMAT_24HR), "GL_UTIL_CLOCK_FORMAT_24HR", "24hr" },
        { C_ENUM (GL_UTIL_CLOCK_FORMAT_12HR), "GL_UTIL_CLOCK_FORMAT_12HR", "12hr" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlUtilClockFormat"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gl_journal_storage_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GL_JOURNAL_STORAGE_NONE), "GL_JOURNAL_STORAGE_NONE", "none" },
        { C_ENUM (GL_JOURNAL_STORAGE_PERSISTENT), "GL_JOURNAL_STORAGE_PERSISTENT", "persistent" },
        { C_ENUM (GL_JOURNAL_STORAGE_VOLATILE), "GL_JOURNAL_STORAGE_VOLATILE", "volatile" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GlJournalStorage"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

