File: flatpakcommon.cpp

package info (click to toggle)
flatpak-kcm 6.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,636 kB
  • sloc: cpp: 3,783; xml: 62; makefile: 5; sh: 1
file content (66 lines) | stat: -rw-r--r-- 973 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/**
 * Copyright © 2014 Red Hat, Inc
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#include "flatpakcommon.h"

/* Same order as enum */
namespace FlatpakStrings
{

const char *flatpak_policy[] = {
    "none",
    "see",
    "talk",
    "own",
    nullptr,
};

const char *flatpak_context_shares[] = {
    "network",
    "ipc",
    nullptr,
};

const char *flatpak_context_sockets[] = {
    "x11",
    "wayland",
    "pulseaudio",
    "session-bus",
    "system-bus",
    "fallback-x11",
    "ssh-auth",
    "pcsc",
    "cups",
    "gpg-agent",
    nullptr,
};

const char *flatpak_context_devices[] = {
    "dri",
    "all",
    "kvm",
    "shm",
    nullptr,
};

const char *flatpak_context_features[] = {
    "devel",
    "multiarch",
    "bluetooth",
    "canbus",
    "per-app-dev-shm",
    nullptr,
};

const char *flatpak_context_special_filesystems[] = {
    "home",
    "host",
    "host-etc",
    "host-os",
    "host-reset",
    nullptr,
};

} // namespace