Debian Codegraph @

src/OVAL/probes/unix/linux/fwupdsecattr_probe.h

raw symbols SCIP
1 /*
2 * Copyright 2022 Red Hat Inc., Durham, North Carolina.
3 * All Rights Reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 * Authors:
20 * Kate Hsuan <[email protected]>
21 */
22
23 #ifndef OPENSCAP_FWUPDSECATTR_PROBE_H
24 #define OPENSCAP_FWUPDSECATTR_PROBE_Hcxx . . $ `src/OVAL/probes/unix/linux/fwupdsecattr_probe.h:24:9`!
25
26 #include <sys/queue.h>
27
28 #include "probe-api.h"cxx . . $ `<file>/src/OVAL/probes/public/probe-api.h`/
29
30 struct secattr_cachecxx . . $ secattr_cache# {
31 char *namecxx . . $ secattr_cache#name.;
32 uint32_tcxx . . $ uint32_t# hsi_resultcxx . . $ secattr_cache#hsi_result.;
33 LIST_ENTRYcxx . . $ `<external>/2546723208511035544/queue.h:92:9`!(secattr_cache) entriescxx . . $ secattr_cache#entries.;
34 };
35
36 typedef enumcxx . . $ $anonymous_type_895d05e5197a3956_1# {
37 FWUPD_SECURITY_ATTR_RESULT_UNKNOWNcxx . . $ FWUPD_SECURITY_ATTR_RESULT_UNKNOWN.,
38 FWUPD_SECURITY_ATTR_RESULT_ENABLEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_ENABLED.,
39 FWUPD_SECURITY_ATTR_RESULT_NOT_ENABLEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_NOT_ENABLED.,
40 FWUPD_SECURITY_ATTR_RESULT_VALIDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_VALID.,
41 FWUPD_SECURITY_ATTR_RESULT_NOT_VALIDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_NOT_VALID.,
42 FWUPD_SECURITY_ATTR_RESULT_LOCKEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_LOCKED.,
43 FWUPD_SECURITY_ATTR_RESULT_NOT_LOCKEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_NOT_LOCKED.,
44 FWUPD_SECURITY_ATTR_RESULT_ENCRYPTEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_ENCRYPTED.,
45 FWUPD_SECURITY_ATTR_RESULT_NOT_ENCRYPTEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_NOT_ENCRYPTED.,
46 FWUPD_SECURITY_ATTR_RESULT_TAINTEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_TAINTED.,
47 FWUPD_SECURITY_ATTR_RESULT_NOT_TAINTEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_NOT_TAINTED.,
48 FWUPD_SECURITY_ATTR_RESULT_FOUNDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_FOUND.,
49 FWUPD_SECURITY_ATTR_RESULT_NOT_FOUNDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_NOT_FOUND.,
50 FWUPD_SECURITY_ATTR_RESULT_SUPPORTEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_SUPPORTED.,
51 FWUPD_SECURITY_ATTR_RESULT_NOT_SUPPORTEDcxx . . $ FWUPD_SECURITY_ATTR_RESULT_NOT_SUPPORTED.,
52 /*< private >*/
53 FWUPD_SECURITY_ATTR_RESULT_LASTcxx . . $ FWUPD_SECURITY_ATTR_RESULT_LAST.
54 } FwupdSecurityAttrResultcxx . . $ FwupdSecurityAttrResult#;
55
56 LIST_HEADcxx . . $ `<external>/2546723208511035544/queue.h:84:9`!(cachehed, secattr_cache);
57
58 int fwupdsecattr_probe_offline_mode_supportedcxx . . $ fwupdsecattr_probe_offline_mode_supported(b126dc7c1de90089).(void);
59 int fwupdsecattr_probe_maincxx . . $ fwupdsecattr_probe_main(470536d3ffacaf10).(probe_ctxcxx . . $ probe_ctx# *ctx, void *arg);
60
61 #endif /* OPENSCAP_FWUPD_SECURITY_ATTR_PROBE_H */