about summary refs log tree commit diff
path: root/include/nss.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nss.h')
-rw-r--r--include/nss.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/nss.h b/include/nss.h
index 0541335c18..1e8cc3910d 100644
--- a/include/nss.h
+++ b/include/nss.h
@@ -1 +1,14 @@
+#ifndef _NSS_H
 #include <nss/nss.h>
+
+#define NSS_INVALID_FIELD_CHARACTERS ":\n"
+extern const char __nss_invalid_field_characters[] attribute_hidden;
+
+_Bool __nss_valid_field (const char *value)
+  attribute_hidden internal_function;
+_Bool __nss_valid_list_field (char **list)
+  attribute_hidden internal_function;
+const char *__nss_rewrite_field (const char *value, char **to_be_freed)
+  attribute_hidden internal_function;
+
+#endif /* _NSS_H */