libzypp 17.37.10

provide-configvars.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#ifndef ZYPP_MEDIA_PROVIDE_CONFIGVARS_H_INCLUDED
10#define ZYPP_MEDIA_PROVIDE_CONFIGVARS_H_INCLUDED
11
12#include <string_view>
13
14 namespace zyppng {
15 // special config strings sent to the workers:
16 constexpr std::string_view AGENT_STRING_CONF("zconfig://media/UserAgent");
17 constexpr std::string_view DISTRO_FLAV_CONF("zconfig://media/DistributionFlavor");
18 constexpr std::string_view ANON_ID_CONF("zconfig://media/AnonymousId");
19 constexpr std::string_view ATTACH_POINT("zconfig://media/AttachPoint");
20 constexpr std::string_view PROVIDER_ROOT("zconfig://media/ProviderRoot");
21
22
23 // request related settings:
24 constexpr std::string_view NETWORK_METALINK_ENABLED("zypp-nw-metalink-enabled"); //< Enable or disable metalink for a specific request
25 constexpr std::string_view HANDLER_SPECIFIC_DEVICES("zypp-req-specific-devices"); //< Limit the request to a set of devices. Devices are comma seperated.
26}
27
28#endif
zyppng
Definition MediaNetworkRequestExecutor.h:16
zyppng::NETWORK_METALINK_ENABLED
constexpr std::string_view NETWORK_METALINK_ENABLED("zypp-nw-metalink-enabled")
zyppng::ATTACH_POINT
constexpr std::string_view ATTACH_POINT("zconfig://media/AttachPoint")
zyppng::ANON_ID_CONF
constexpr std::string_view ANON_ID_CONF("zconfig://media/AnonymousId")
zyppng::HANDLER_SPECIFIC_DEVICES
constexpr std::string_view HANDLER_SPECIFIC_DEVICES("zypp-req-specific-devices")
zyppng::DISTRO_FLAV_CONF
constexpr std::string_view DISTRO_FLAV_CONF("zconfig://media/DistributionFlavor")
zyppng::PROVIDER_ROOT
constexpr std::string_view PROVIDER_ROOT("zconfig://media/ProviderRoot")
zyppng::AGENT_STRING_CONF
constexpr std::string_view AGENT_STRING_CONF("zconfig://media/UserAgent")