summaryrefslogtreecommitdiff
path: root/name.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-11-19 02:50:52 +0100
committerLennart Poettering <lennart@poettering.net>2009-11-19 02:50:52 +0100
commit07232470c869976ae2d7a36799bc6b0126d7e820 (patch)
tree323b162c78e760ef241da7baf3f6e930b1f1935f /name.h
parenta41e8209be729cd8de34d715135fe84920e8016c (diff)
name: add simple name string validator
Diffstat (limited to 'name.h')
-rw-r--r--name.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/name.h b/name.h
index 3b364f00f3..062c95aa14 100644
--- a/name.h
+++ b/name.h
@@ -260,6 +260,7 @@ DEFINE_CAST(SNAPSHOT, Snapshot, snapshot);
bool name_is_ready(Name *name);
NameType name_type_from_string(const char *n);
+bool name_is_valid(const char *n);
Name *name_new(Manager *m);
void name_free(Name *name);