summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-string.c')
-rw-r--r--dbus/dbus-string.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/dbus/dbus-string.c b/dbus/dbus-string.c
index a1bab820..31ea6fcb 100644
--- a/dbus/dbus-string.c
+++ b/dbus/dbus-string.c
@@ -2551,11 +2551,19 @@ _dbus_string_validate_path (const DBusString *str,
return TRUE;
}
+/**
+ * Determine wether the given charater is valid as the first charater
+ * in a name.
+ */
#define VALID_INITIAL_NAME_CHARACTER(c) \
( ((c) >= 'A' && (c) <= 'Z') || \
((c) >= 'a' && (c) <= 'z') || \
((c) == '_') )
+/**
+ * Determine wether the given charater is valid as a second or later
+ * character in a nam
+ */
#define VALID_NAME_CHARACTER(c) \
( ((c) >= '0' && (c) <= '9') || \
((c) >= 'A' && (c) <= 'Z') || \