8 #ifndef DBUSCXX_VALIDATOR_H
9 #define DBUSCXX_VALIDATOR_H
Contains various static routines for validating and/or sanitizing data.
Definition: validator.h:20
static bool message_is_small_enough(const std::vector< uint8_t > *data)
Checks to make sure that the size of the message(after serialization) is lower than 2^27.
Definition: validator.cpp:126
static bool validate_interface_name(std::string name)
Validate an interface name.
Definition: validator.cpp:71
static bool validate_member_name(std::string name)
Validate a member name.
Definition: validator.cpp:102
static bool validate_error_name(std::string name)
Validate an error name.
Definition: validator.cpp:122
static bool validate_bus_name(std::string name)
Validate a bus name.
Definition: validator.cpp:33
static constexpr uint32_t maximum_message_size()
Definition: validator.h:98
static constexpr uint32_t maximum_array_size()
Return the maximum array size.
Definition: validator.h:96
static constexpr uint32_t maximum_message_depth()
Definition: validator.h:100
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18