packaging: remove nis/ nss
[platform/upstream/glibc.git] / include / nss.h
1 #ifndef _NSS_H
2 #include <nss/nss.h>
3
4 #ifndef _ISOMAC
5
6 # include <stddef.h>
7 # include <stdint.h>
8
9 # define NSS_INVALID_FIELD_CHARACTERS ":\n"
10 extern const char __nss_invalid_field_characters[] attribute_hidden;
11
12 _Bool __nss_valid_field (const char *value) attribute_hidden;
13 _Bool __nss_valid_list_field (char **list)  attribute_hidden;
14 const char *__nss_rewrite_field (const char *value, char **to_be_freed)
15   attribute_hidden;
16
17 /* Compute a hash value for LENGTH bytes starting at KEY.  This is the
18    hash function used by the nscd for the cache mapping files.  */
19 uint32_t __nss_hash (const void *__key, size_t __length);
20 libc_hidden_proto (__nss_hash)
21
22 #endif /* !_ISOMAC */
23 #endif /* _NSS_H */