about summary refs log tree commit diff
path: root/nis/libnsl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-28 21:08:22 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-28 21:08:22 +0000
commit4eaa9bb48b319803544909a085651fc6ff4a9ea1 (patch)
tree82576e0a3da147dbad681d17ef6bb3aec4f0ba0d /nis/libnsl.h
parentee821689eb2a2db7d303d4e3efa7ef54f502c854 (diff)
downloadglibc-4eaa9bb48b319803544909a085651fc6ff4a9ea1.tar.gz
glibc-4eaa9bb48b319803544909a085651fc6ff4a9ea1.tar.xz
glibc-4eaa9bb48b319803544909a085651fc6ff4a9ea1.zip
* nis/nss-default.c (vars): Add SETENT_BATCH_READ.
	* nis/nss: Document SETENT_BATCH_READ.
	* nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ.
	* nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the
	string is already NUL terminated.
	(internal_nis_endservent): No need to return anything.  Change callers.
	(internal_nis_setservent): One more initialization.
	* nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option.
	* nis/nss_nis/nis-grp.c: Likewise.

	* nis/nss-default.c (init): Rewrite parser to get the variables
Diffstat (limited to 'nis/libnsl.h')
-rw-r--r--nis/libnsl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nis/libnsl.h b/nis/libnsl.h
index e45f24df0e..9f78469fe2 100644
--- a/nis/libnsl.h
+++ b/nis/libnsl.h
@@ -18,6 +18,7 @@
 
 #define NSS_FLAG_NETID_AUTHORITATIVE	1
 #define NSS_FLAG_SERVICES_AUTHORITATIVE	2
+#define NSS_FLAG_SETENT_BATCH_READ	4
 
 
 /* Get current set of default flags.  */