summaryrefslogtreecommitdiffstats
path: root/src/sysupdate/sysupdate-update-set-flags.h
blob: 49ac5e183582aedffc7e22c2efa903f4643f8a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

typedef enum UpdateSetFlags {
        UPDATE_NEWEST    = 1 << 0,
        UPDATE_AVAILABLE = 1 << 1,
        UPDATE_INSTALLED = 1 << 2,
        UPDATE_OBSOLETE  = 1 << 3,
        UPDATE_PROTECTED = 1 << 4,
} UpdateSetFlags;

const char* update_set_flags_to_color(UpdateSetFlags flags);
const char* update_set_flags_to_glyph(UpdateSetFlags flags);
const char* update_set_flags_to_string(UpdateSetFlags flags);