summaryrefslogtreecommitdiffstats
path: root/src/sysupdate/sysupdate-update-set-flags.h
blob: 881dfdeffff78d7aee0fd8d96594875f644bd5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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,
        UPDATE_INCOMPLETE = 1 << 5,
} 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);