summaryrefslogtreecommitdiff
path: root/include/nss.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 16:34:38 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 16:34:38 +0000
commit7576c27563a3e43c0a276bf222244bcaf220a6fa (patch)
treead96fd1f1b9b57a50005db7803f6b79e748bb820 /include/nss.h
parentab5f5211585bf0f33bbfa2d4aaf17e4f0d1fa564 (diff)
parent064374be911f72dfaec8a75f06da1f9fc1827712 (diff)
Merge branch 't/hurdsig-global-dispositions' into refs/top-bases/t/hurdsig-SA_SIGINFO
Diffstat (limited to 'include/nss.h')
-rw-r--r--include/nss.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/include/nss.h b/include/nss.h
index 1e8cc3910d..c5b7c04c82 100644
--- a/include/nss.h
+++ b/include/nss.h
@@ -1,14 +1,23 @@
#ifndef _NSS_H
#include <nss/nss.h>
-#define NSS_INVALID_FIELD_CHARACTERS ":\n"
+#ifndef _ISOMAC
+
+# include <stddef.h>
+# include <stdint.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;
+_Bool __nss_valid_field (const char *value) attribute_hidden;
+_Bool __nss_valid_list_field (char **list) attribute_hidden;
const char *__nss_rewrite_field (const char *value, char **to_be_freed)
- attribute_hidden internal_function;
+ attribute_hidden;
+
+/* Compute a hash value for LENGTH bytes starting at KEY. This is the
+ hash function used by the nscd for the cache mapping files. */
+uint32_t __nss_hash (const void *__key, size_t __length);
+libc_hidden_proto (__nss_hash)
+#endif /* !_ISOMAC */
#endif /* _NSS_H */