tests: use xmalloc to allocate implementation array
[glibc.git] / include / nss.h
blobc5b7c04c824a24751857bcb7c5893e4d80c6a147
1 #ifndef _NSS_H
2 #include <nss/nss.h>
4 #ifndef _ISOMAC
6 # include <stddef.h>
7 # include <stdint.h>
9 # define NSS_INVALID_FIELD_CHARACTERS ":\n"
10 extern const char __nss_invalid_field_characters[] attribute_hidden;
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;
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)
22 #endif /* !_ISOMAC */
23 #endif /* _NSS_H */