summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-22 01:15:20 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-22 01:15:20 +0100
commit6693860fab7e34ffc59a748d3064d553fba25f2c (patch)
treecda5577f5d0d9737b475a77a8b0aaadab3433cc4 /src/libsystemd-bus/bus-internal.h
parentac89bf1d53268d39025a2a00c2effdb3fa447ead (diff)
bus: validate the entire header more closely
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r--src/libsystemd-bus/bus-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index 809ad823fc..3c2478e8fd 100644
--- a/src/libsystemd-bus/bus-internal.h
+++ b/src/libsystemd-bus/bus-internal.h
@@ -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