Debian Codegraph @

src/helper/polkit.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/helper/polkit.h`/
2 // Copyright 2022 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include <string>
7
8 namespace Polkitcxx . . $ Polkit/ {
9
10 enum class AuthResultcxx . . $ Polkit/AuthResult# {
11 Yescxx . . $ Polkit/AuthResult#Yes.,
12 Nocxx . . $ Polkit/AuthResult#No.,
13 Errorcxx . . $ Polkit/AuthResult#Error.,
14 };
15
16 struct BusNameSubjectcxx . . $ Polkit/BusNameSubject#
17 {
18 stdcxx . . $ std/::stringcxx . . $ std/string# buscxx . . $ Polkit/BusNameSubject#bus.;
19 };
20
21 /// Checks whether a subject, identified by its bus name, is authorized to
22 /// perform an action. This operation requires user interaction.
23 AuthResultcxx . . $ Polkit/AuthResult# checkAuthorizationSynccxx . . $ Polkit/checkAuthorizationSync(da9f429a3fd357d7).(stdcxx . . $ std/::stringcxx . . $ std/string# const &actionId,
24 BusNameSubjectcxx . . $ Polkit/BusNameSubject# const &busNameSubject);
25
26 } // namespace Polkit