// Copyright 2017 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#include <xmlparser/XMLParserCommon.h>

namespace eprosima {
namespace fastdds {
namespace xmlparser {

const char* DEFAULT_FASTDDS_ENV_VARIABLE = "FASTDDS_DEFAULT_PROFILES_FILE";
const char* DEFAULT_FASTDDS_PROFILES = "DEFAULT_FASTDDS_PROFILES.xml";
const char* DEFAULT_STATISTICS_DATAWRITER_PROFILE = "GENERIC_STATISTICS_PROFILE";
const char* SKIP_DEFAULT_XML_FILE = "SKIP_DEFAULT_XML_FILE";

const char* ROOT = "dds";
const char* PROFILES = "profiles";
const char* LIBRARY_SETTINGS = "library_settings";
const char* TRANSPORT_DESCRIPTORS = "transport_descriptors";
const char* PROFILE_NAME = "profile_name";
const char* DEFAULT_PROF = "is_default_profile";
const char* DOMAINPARTICIPANT_FACTORY = "domainparticipant_factory";
const char* PARTICIPANT = "participant";
const char* PUBLISHER = "publisher";
const char* SUBSCRIBER = "subscriber";
const char* RTPS = "rtps";
const char* TYPES = "types";
const char* LOG = "log";
const char* REQUESTER = "requester";
const char* REPLIER = "replier";

const char* TRANSPORT_DESCRIPTOR = "transport_descriptor";
const char* TRANSPORT_ID = "transport_id";
const char* UDP_OUTPUT_PORT = "output_port";
const char* TCP_WAN_ADDR = "wan_addr";
const char* RECEIVE_BUFFER_SIZE = "receiveBufferSize";
const char* SEND_BUFFER_SIZE = "sendBufferSize";
const char* TTL = "TTL";
const char* NON_BLOCKING_SEND = "non_blocking_send";
const char* WHITE_LIST = "interfaceWhiteList";
const char* NETWORK_INTERFACE = "interface";
const char* NETMASK_FILTER = "netmask_filter";
const char* NETWORK_INTERFACES = "interfaces";
const char* ALLOWLIST = "allowlist";
const char* BLOCKLIST = "blocklist";
const char* MAX_MESSAGE_SIZE = "maxMessageSize";
const char* MAX_INITIAL_PEERS_RANGE = "maxInitialPeersRange";
const char* KEEP_ALIVE_FREQUENCY = "keep_alive_frequency_ms";
const char* KEEP_ALIVE_TIMEOUT = "keep_alive_timeout_ms";
const char* MAX_LOGICAL_PORT = "max_logical_port";
const char* LOGICAL_PORT_RANGE = "logical_port_range";
const char* LOGICAL_PORT_INCREMENT = "logical_port_increment";
const char* ENABLE_TCP_NODELAY = "enable_tcp_nodelay";
const char* METADATA_LOGICAL_PORT = "metadata_logical_port";
const char* LISTENING_PORTS = "listening_ports";
const char* CALCULATE_CRC = "calculate_crc";
const char* CHECK_CRC = "check_crc";
const char* KEEP_ALIVE_THREAD = "keep_alive_thread";
const char* ACCEPT_THREAD = "accept_thread";
const char* TCP_NEGOTIATION_TIMEOUT = "tcp_negotiation_timeout";
const char* SEGMENT_SIZE = "segment_size";
const char* PORT_QUEUE_CAPACITY = "port_queue_capacity";
const char* PORT_OVERFLOW_POLICY = "port_overflow_policy";
const char* SEGMENT_OVERFLOW_POLICY = "segment_overflow_policy";
const char* HEALTHY_CHECK_TIMEOUT_MS = "healthy_check_timeout_ms";
const char* DISCARD = "DISCARD";
const char* FAIL = "FAIL";
const char* RTPS_DUMP_FILE = "rtps_dump_file";
const char* DEFAULT_RECEPTION_THREADS = "default_reception_threads";
const char* RECEPTION_THREADS = "reception_threads";
const char* RECEPTION_THREAD = "reception_thread";
const char* DUMP_THREAD = "dump_thread";
const char* ON = "ON";
const char* AUTO = "AUTO";
const char* THREAD_SETTINGS = "thread_settings";
const char* SCHEDULING_POLICY = "scheduling_policy";
const char* PRIORITY = "priority";
const char* AFFINITY = "affinity";
const char* STACK_SIZE = "stack_size";

const char* OFF = "OFF";
const char* USER_DATA_ONLY = "USER_DATA_ONLY";
const char* FULL = "FULL";

const char* QOS_PROFILE = "qos_profile";
const char* APPLICATION = "application";
const char* TYPE = "type";
// const char* TOPIC = "topic";
const char* DATA_WRITER = "data_writer";
const char* DATA_READER = "data_reader";

/// DomainParticipantFactory Qos
const char* ENTITY_FACTORY = "entity_factory";
const char* AUTOENABLE_CREATED_ENTITIES = "autoenable_created_entities";
const char* SHM_WATCHDOG_THREAD = "shm_watchdog_thread";
const char* FILE_WATCH_THREADS = "file_watch_threads";

/// RTPS Domain attributes
const char* INTRAPROCESS_DELIVERY = "intraprocess_delivery";

/// RTPS Participant attributes
const char* ALLOCATION = "allocation";
const char* PREFIX = "prefix";
const char* DEF_EXT_UNI_LOC_LIST = "default_external_unicast_locators";
const char* DEF_UNI_LOC_LIST = "defaultUnicastLocatorList";
const char* DEF_MULTI_LOC_LIST = "defaultMulticastLocatorList";
const char* SEND_SOCK_BUF_SIZE = "sendSocketBufferSize";
const char* LIST_SOCK_BUF_SIZE = "listenSocketBufferSize";
const char* BUILTIN = "builtin";
const char* PORT = "port";
const char* PORTS = "ports_";
const char* LOGICAL_PORT = "logical_port";
const char* PHYSICAL_PORT = "physical_port";
const char* USER_DATA = "userData";
const char* PART_ID = "participantID";
const char* FLOW_CONTROLLER_DESCRIPTOR_LIST = "flow_controller_descriptor_list";
const char* USER_TRANS = "userTransports";
const char* USE_BUILTIN_TRANS = "useBuiltinTransports";
const char* BUILTIN_TRANS = "builtinTransports";
const char* MAX_MSG_SIZE_LARGE_DATA = "max_msg_size";
const char* SOCKETS_SIZE_LARGE_DATA = "sockets_size";
const char* NON_BLOCKING_LARGE_DATA = "non_blocking";
const char* PROPERTIES_POLICY = "propertiesPolicy";
const char* NAME = "name";
const char* REMOTE_LOCATORS = "remote_locators";
const char* MAX_UNICAST_LOCATORS = "max_unicast_locators";
const char* MAX_MULTICAST_LOCATORS = "max_multicast_locators";
const char* TOTAL_PARTICIPANTS = "total_participants";
const char* TOTAL_READERS = "total_readers";
const char* TOTAL_WRITERS = "total_writers";
const char* SEND_BUFFERS = "send_buffers";
const char* PREALLOCATED_NUMBER = "preallocated_number";
const char* DYNAMIC_LC = "dynamic";
const char* NETWORK_BUFFERS_CONFIG = "network_buffers_config";
const char* MAX_PROPERTIES = "max_properties";
const char* MAX_USER_DATA = "max_user_data";
const char* MAX_PARTITIONS = "max_partitions";
const char* TIMED_EVENTS_THREAD = "timed_events_thread";
const char* DISCOVERY_SERVER_THREAD = "discovery_server_thread";
const char* TYPELOOKUP_SERVICE_THREAD = "typelookup_service_thread";
const char* SECURITY_LOG_THREAD = "security_log_thread";
const char* BUILTIN_TRANSPORTS_RECEPTION_THREADS = "builtin_transports_reception_threads";
const char* BUILTIN_CONTROLLERS_SENDER_THREAD = "builtin_controllers_sender_thread";

/// Publisher-subscriber attributes
const char* TOPIC = "topic";
const char* QOS = "qos";
const char* TIMES = "times";
const char* EXT_UNI_LOC_LIST = "external_unicast_locators";
const char* UNI_LOC_LIST = "unicastLocatorList";
const char* MULTI_LOC_LIST = "multicastLocatorList";
const char* REM_LOC_LIST = "remoteLocatorList";
const char* EXP_INLINE_QOS = "expects_inline_qos";
const char* HIST_MEM_POLICY = "historyMemoryPolicy";
//const char* PROPERTIES_POLICY = "propertiesPolicy";
const char* USER_DEF_ID = "userDefinedID";
const char* ENTITY_ID = "entityID";
const char* MATCHED_SUBSCRIBERS_ALLOCATION = "matchedSubscribersAllocation";
const char* MATCHED_PUBLISHERS_ALLOCATION = "matchedPublishersAllocation";
const char* DATA_SHARING_LISTENER_THREAD = "data_sharing_listener_thread";

///
const char* IGN_NON_MATCHING_LOCS = "ignore_non_matching_locators";
const char* PROPERTIES = "properties";
const char* BIN_PROPERTIES = "binary_properties";
const char* PROPERTY = "property";
const char* VALUE = "value";
const char* PROPAGATE = "propagate";
const char* PREALLOCATED = "PREALLOCATED";
const char* PREALLOCATED_WITH_REALLOC = "PREALLOCATED_WITH_REALLOC";
const char* DYNAMIC = "DYNAMIC";
const char* DYNAMIC_REUSABLE = "DYNAMIC_REUSABLE";
const char* LOCATOR = "locator";
const char* UDPv4_LOCATOR = "udpv4";
const char* UDPv6_LOCATOR = "udpv6";
const char* TCPv4_LOCATOR = "tcpv4";
const char* TCPv6_LOCATOR = "tcpv6";
const char* KIND = "kind";
const char* ADDRESS = "address";
const char* UNIQUE_LAN_ID = "unique_lan_id";
const char* WAN_ADDRESS = "wan_address";
const char* RESERVED = "RESERVED";
const char* UDPv4 = "UDPv4";
const char* UDPv6 = "UDPv6";
const char* TCPv4 = "TCPv4";
const char* TCPv6 = "TCPv6";
const char* SHM = "SHM";
const char* DEFAULT_C = "DEFAULT";
const char* DEFAULTv6 = "DEFAULTv6";
const char* LARGE_DATA = "LARGE_DATA";
const char* LARGE_DATAv6 = "LARGE_DATAv6";
const char* INIT_ACKNACK_DELAY = "initial_acknack_delay";
const char* HEARTB_RESP_DELAY = "heartbeat_response_delay";
const char* INIT_HEARTB_DELAY = "initial_heartbeat_delay";
const char* HEARTB_PERIOD = "heartbeat_period";
const char* NACK_RESP_DELAY = "nack_response_delay";
const char* NACK_SUPRESSION = "nack_supression_duration";
const char* BY_NAME = "durationbyname";
const char* BY_VAL = "durationbyval";
const char* SECONDS = "sec";
const char* NANOSECONDS = "nanosec";
const char* SHARED = "SHARED";
const char* EXCLUSIVE = "EXCLUSIVE";

// For backward compatibility we allow any DURATION_XXX in dds::Duration_t element and any subelement
// const char* DURATION_INFINITY = R"xsd(\s*DURATION_INFINITY\s*)xsd";
// const char* DURATION_INFINITE_SEC = R"xsd(\s*(DURATION_INFINITY|DURATION_INFINITE_SEC)\s*)xsd";
// const char* DURATION_INFINITE_NSEC = R"xsd(\s*(DURATION_INFINITY|DURATION_INFINITE_NSEC)\s*)xsd";
const char* DURATION_INFINITY = R"xsd(\s*(DURATION_INFINITY|DURATION_INFINITE_SEC|DURATION_INFINITE_NSEC)\s*)xsd";
const char* DURATION_INFINITE_SEC = DURATION_INFINITY;
const char* DURATION_INFINITE_NSEC = DURATION_INFINITY;
/// QOS
const char* DURABILITY = "durability";
const char* DURABILITY_SRV = "durabilityService";
const char* DEADLINE = "deadline";
const char* LATENCY_BUDGET = "latencyBudget";
const char* LIVELINESS = "liveliness";
const char* RELIABILITY = "reliability";
const char* LIFESPAN = "lifespan";
const char* TIME_FILTER = "timeBasedFilter";
const char* OWNERSHIP = "ownership";
const char* OWNERSHIP_STRENGTH = "ownershipStrength";
const char* DEST_ORDER = "destinationOrder";
const char* PRESENTATION = "presentation";
const char* PARTITION = "partition";
const char* TOPIC_DATA = "topicData";
const char* GROUP_DATA = "groupData";
const char* PUB_MODE = "publishMode";
const char* DISABLE_POSITIVE_ACKS = "disablePositiveAcks";
const char* DISABLE_HEARTBEAT_PIGGYBACK = "disable_heartbeat_piggyback";
const char* DATA_SHARING = "data_sharing";

const char* SYNCHRONOUS = "SYNCHRONOUS";
const char* ASYNCHRONOUS = "ASYNCHRONOUS";
const char* NAMES = "names";
const char* INSTANCE = "INSTANCE";
const char* GROUP = "GROUP";
const char* COHERENT_ACCESS = "coherent_access";
const char* ORDERED_ACCESS = "ordered_access";
const char* BY_RECEPTION_TIMESTAMP = "BY_RECEPTION_TIMESTAMP";
const char* BY_SOURCE_TIMESTAMP = "BY_SOURCE_TIMESTAMP";
const char* MIN_SEPARATION = "minimum_separation";
const char* DURATION = "duration";
const char* MAX_BLOCK_TIME = "max_blocking_time";
const char* _BEST_EFFORT = "BEST_EFFORT";
const char* _RELIABLE = "RELIABLE";
const char* AUTOMATIC = "AUTOMATIC";
const char* MANUAL_BY_PARTICIPANT = "MANUAL_BY_PARTICIPANT";
const char* MANUAL_BY_TOPIC = "MANUAL_BY_TOPIC";
const char* LEASE_DURATION = "lease_duration";
const char* ANNOUNCE_PERIOD = "announcement_period";
const char* COUNT = "count";
const char* PERIOD = "period";
const char* SRV_CLEAN_DELAY = "service_cleanup_delay";
const char* HISTORY_KIND = "history_kind";
const char* HISTORY_DEPTH = "history_depth";
const char* MAX_SAMPLES = "max_samples";
const char* MAX_INSTANCES = "max_instances";
const char* MAX_SAMPLES_INSTANCE = "max_samples_per_instance";
const char* _VOLATILE = "VOLATILE";
const char* _TRANSIENT_LOCAL = "TRANSIENT_LOCAL";
const char* _TRANSIENT = "TRANSIENT";
const char* _PERSISTENT = "PERSISTENT";
const char* KEEP_LAST = "KEEP_LAST";
const char* KEEP_ALL = "KEEP_ALL";
const char* _NO_KEY = "NO_KEY";
const char* _WITH_KEY = "WITH_KEY";
const char* DATA_TYPE = "dataType";
const char* HISTORY_QOS = "historyQos";
const char* RES_LIMITS_QOS = "resourceLimitsQos";
const char* DEPTH = "depth";
const char* ALLOCATED_SAMPLES = "allocated_samples";
const char* EXTRA_SAMPLES = "extra_samples";
const char* FLOW_CONTROLLER_DESCRIPTOR = "flow_controller_descriptor";
const char* SCHEDULER = "scheduler";
const char* SENDER_THREAD = "sender_thread";
const char* MAX_BYTES_PER_PERIOD = "max_bytes_per_period";
const char* PERIOD_MILLISECS = "period_ms";
const char* FLOW_CONTROLLER_NAME = "flow_controller_name";
const char* FIFO = "FIFO";
const char* HIGH_PRIORITY = "HIGH_PRIORITY";
const char* ROUND_ROBIN = "ROUND_ROBIN";
const char* PRIORITY_WITH_RESERVATION = "PRIORITY_WITH_RESERVATION";
const char* PORT_BASE = "portBase";
const char* DOMAIN_ID_GAIN = "domainIDGain";
const char* PARTICIPANT_ID_GAIN = "participantIDGain";
const char* OFFSETD0 = "offsetd0";
const char* OFFSETD1 = "offsetd1";
const char* OFFSETD2 = "offsetd2";
const char* OFFSETD3 = "offsetd3";
const char* RTPS_PDP_TYPE = "discoveryProtocol";
const char* NONE = "NONE";
const char* CLIENT = "CLIENT";
const char* SERVER = "SERVER";
const char* BACKUP = "BACKUP";
const char* SUPER_CLIENT = "SUPER_CLIENT";
const char* IGNORE_PARTICIPANT_FLAGS = "ignoreParticipantFlags";
const char* FILTER_DIFFERENT_HOST = "FILTER_DIFFERENT_HOST";
const char* FILTER_DIFFERENT_PROCESS = "FILTER_DIFFERENT_PROCESS";
const char* FILTER_SAME_PROCESS = "FILTER_SAME_PROCESS";
const char* WRITER_LVESS_PROTOCOL = "use_WriterLivelinessProtocol";
const char* DISCOVERY_SETTINGS = "discovery_config";
const char* _EDP = "EDP";
const char* DOMAIN_ID = "domainId";
const char* LEASEDURATION = "leaseDuration";
const char* LEASE_ANNOUNCE = "leaseAnnouncement";
const char* INITIAL_ANNOUNCEMENTS = "initialAnnouncements";
const char* AVOID_BUILTIN_MULTICAST = "avoid_builtin_multicast";
const char* SIMPLE_EDP = "simpleEDP";
const char* META_EXT_UNI_LOC_LIST = "metatraffic_external_unicast_locators";
const char* META_UNI_LOC_LIST = "metatrafficUnicastLocatorList";
const char* META_MULTI_LOC_LIST = "metatrafficMulticastLocatorList";
const char* INIT_PEERS_LIST = "initialPeersList";
const char* CLIENTANNOUNCEMENTPERIOD = "clientAnnouncementPeriod";
const char* SERVER_LIST = "discoveryServersList";
const char* RSERVER = "RemoteServer";
const char* SIMPLE = "SIMPLE";
const char* STATIC = "STATIC";
const char* PUBWRITER_SUBREADER = "PUBWRITER_SUBREADER";
const char* PUBREADER_SUBWRITER = "PUBREADER_SUBWRITER";
const char* STATIC_ENDPOINT_XML = "staticEndpointXMLFilename";
const char* STATIC_ENDPOINT_XML_URI = "static_edp_xml_config";
const char* READER_HIST_MEM_POLICY = "readerHistoryMemoryPolicy";
const char* WRITER_HIST_MEM_POLICY = "writerHistoryMemoryPolicy";
const char* READER_PAYLOAD_SIZE = "readerPayloadSize";
const char* WRITER_PAYLOAD_SIZE = "writerPayloadSize";
const char* MUTATION_TRIES = "mutation_tries";
const char* ACCESS_SCOPE = "access_scope";
const char* ENABLED = "enabled";
const char* DOMAIN_IDS = "domain_ids";
const char* SHARED_DIR = "shared_dir";
const char* MAX_DOMAINS = "max_domains";

// Endpoint parser
const char* STATICDISCOVERY = "staticdiscovery";
const char* READER = "reader";
const char* WRITER = "writer";
const char* USER_ID = "userId";
const char* EXPECT_INLINE_QOS = "expects_inline_qos";
const char* TOPIC_NAME = "topicName";
const char* TOPIC_DATA_TYPE = "topicDataType";
const char* TOPIC_KIND = "topicKind";
const char* RELIABILITY_QOS = "reliabilityQos";
const char* UNICAST_LOCATOR = "unicastLocator";
const char* MULTICAST_LOCATOR = "multicastLocator";
const char* _RELIABLE_RELIABILITY_QOS = "RELIABLE_RELIABILITY_QOS";
const char* _BEST_EFFORT_RELIABILITY_QOS = "BEST_EFFORT_RELIABILITY_QOS";
const char* DURABILITY_QOS = "durabilityQos";
const char* _PERSISTENT_DURABILITY_QOS = "PERSISTENT_DURABILITY_QOS";
const char* _TRANSIENT_DURABILITY_QOS = "TRANSIENT_DURABILITY_QOS";
const char* _TRANSIENT_LOCAL_DURABILITY_QOS = "TRANSIENT_LOCAL_DURABILITY_QOS";
const char* _VOLATILE_DURABILITY_QOS = "VOLATILE_DURABILITY_QOS";
const char* OWNERSHIP_QOS = "ownershipQos";
const char* OWNERSHIP_KIND_NOT_PRESENT = "OWNERHSIP kind NOT PRESENT";
const char* _SHARED_OWNERSHIP_QOS = "SHARED_OWNERSHIP_QOS";
const char* _EXCLUSIVE_OWNERSHIP_QOS = "EXCLUSIVE_OWNERSHIP_QOS";
const char* PARTITION_QOS = "partitionQos";
const char* LIVELINESS_QOS = "livelinessQos";
const char* LIVELINESS_KIND_NOT_PRESENT = "LIVELINESS kind NOT PRESENT";
const char* _AUTOMATIC_LIVELINESS_QOS = "AUTOMATIC_LIVELINESS_QOS";
const char* _MANUAL_BY_PARTICIPANT_LIVELINESS_QOS = "MANUAL_BY_PARTICIPANT_LIVELINESS_QOS";
const char* _MANUAL_BY_TOPIC_LIVELINESS_QOS = "MANUAL_BY_TOPIC_LIVELINESS_QOS";
const char* LEASE_DURATION_MS = "leaseDuration_ms";
const char* _INF = "INF";
const char* EPROSIMA_UNKNOWN_STRING = "EPROSIMA_UNKNOWN_STRING";
const char* _OWNERSHIP_KIND_NOT_PRESENT = "OWNERSHIP_KIND_NOT_PRESENT";
const char* STRENGTH = "strength";

// LOG
const char* USE_DEFAULT = "use_default";
const char* CONSUMER = "consumer";
const char* CLASS = "class";

// Allocation config
const char* INITIAL = "initial";
const char* MAXIMUM = "maximum";
const char* INCREMENT = "increment";

// TLS Config
const char* TLS = "tls";
const char* TLS_PASSWORD = "password";
const char* TLS_OPTIONS = "options";
const char* TLS_CERT_CHAIN_FILE = "cert_chain_file";
const char* TLS_PRIVATE_KEY_FILE = "private_key_file";
const char* TLS_TMP_DH_FILE = "tmp_dh_file";
const char* TLS_VERIFY_FILE = "verify_file";
const char* TLS_VERIFY_MODE = "verify_mode";
const char* TLS_VERIFY_PATHS = "verify_paths";
const char* TLS_DEFAULT_VERIFY_PATH = "default_verify_path";
const char* TLS_VERIFY_DEPTH = "verify_depth";
const char* TLS_RSA_PRIVATE_KEY_FILE = "rsa_private_key_file";
const char* TLS_HANDSHAKE_ROLE = "handshake_role";
const char* TLS_SERVER_NAME = "server_name";

// TLS HandShake Role
const char* TLS_HANDSHAKE_ROLE_DEFAULT = "DEFAULT";
const char* TLS_HANDSHAKE_ROLE_CLIENT = "CLIENT";
const char* TLS_HANDSHAKE_ROLE_SERVER = "SERVER";

// TLS Verify Stuff
const char* TLS_VERIFY_PATH = "verify_path";
const char* TLS_VERIFY = "verify";

// TLS Options
const char* TLS_OPTION = "option";
const char* TLS_DEFAULT_WORKAROUNDS = "DEFAULT_WORKAROUNDS";
const char* TLS_NO_COMPRESSION = "NO_COMPRESSION";
const char* TLS_NO_SSLV2 = "NO_SSLV2";
const char* TLS_NO_SSLV3 = "NO_SSLV3";
const char* TLS_NO_TLSV1 = "NO_TLSV1";
const char* TLS_NO_TLSV1_1 = "NO_TLSV1_1";
const char* TLS_NO_TLSV1_2 = "NO_TLSV1_2";
const char* TLS_NO_TLSV1_3 = "NO_TLSV1_3";
const char* TLS_SINGLE_DH_USE = "SINGLE_DH_USE";

// TLS Verify Mode
const char* TLS_VERIFY_NONE = "VERIFY_NONE";
const char* TLS_VERIFY_PEER = "VERIFY_PEER";
const char* TLS_VERIFY_FAIL_IF_NO_PEER_CERT = "VERIFY_FAIL_IF_NO_PEER_CERT";
const char* TLS_VERIFY_CLIENT_ONCE = "VERIFY_CLIENT_ONCE";

// Requester and Replier
const char* SERVICE_NAME = "service_name";
const char* REQUEST_TYPE = "request_type";
const char* REPLY_TYPE = "reply_type";
const char* REQUEST_TOPIC_NAME = "request_topic_name";
const char* REPLY_TOPIC_NAME = "reply_topic_name";

} /* xmlparser */
} /* namespace */
} /* namespace eprosima */
