File: constants.hpp

package info (click to toggle)
openvpn3-client 25%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,276 kB
  • sloc: cpp: 190,085; python: 7,218; ansic: 1,866; sh: 1,361; java: 402; lisp: 81; makefile: 17
file content (25 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (2)
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
//  OpenVPN 3 Linux client -- Next generation OpenVPN client
//
//  SPDX-License-Identifier: AGPL-3.0-only
//
//  Copyright (C) 2017-  OpenVPN Inc <sales@openvpn.net>
//  Copyright (C) 2024-  Răzvan Cojocaru <razvan.cojocaru@openvpn.com>
//

#pragma once

#include <dbus/constants.hpp>
#include <filesystem>

namespace DevPosture {

/**
 *  Main atom for composing paths, object and interface names.
 */
constexpr char SERVICE_ID[] = "devposture";

const std::string SERVICE_DEVPOSTURE = Constants::GenServiceName(SERVICE_ID);
const std::string INTERFACE_DEVPOSTURE = Constants::GenInterface(SERVICE_ID);
const std::string PATH_DEVPOSTURE = Constants::GenPath(SERVICE_ID);

} // end of namespace DevPosture