chiark / gitweb /
bus: validate the entire header more closely
[elogind.git] / src / libsystemd-bus / bus-internal.h
index 809ad823fc6590005df5e257cc48a0ea240e69af..3c2478e8fd0216cbefbd767c2ed1a1647e9c146f 100644 (file)
@@ -123,3 +123,8 @@ static inline void bus_unrefp(sd_bus **b) {
 #define BUS_ARRAY_MAX_SIZE 67108864
 
 bool object_path_is_valid(const char *p);
+bool interface_name_is_valid(const char *p);
+bool service_name_is_valid(const char *p);
+bool member_name_is_valid(const char *p);
+
+#define error_name_is_valid interface_name_is_valid