aboutsummaryrefslogtreecommitdiff
path: root/nss/nsswitch.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-08-12 02:44:03 +0000
committerUlrich Drepper <drepper@redhat.com>1996-08-12 02:44:03 +0000
commita8874eadae699b5d4583aab3a860e06ecfcf5e5a (patch)
tree5165cfc605b53e459cc641ce9c2e614619ee867f /nss/nsswitch.h
parenta3e59be8d1e0dbb1d2ab25c3dc4b0ad04e159ad2 (diff)
downloadglibc-a8874eadae699b5d4583aab3a860e06ecfcf5e5a.zip
glibc-a8874eadae699b5d4583aab3a860e06ecfcf5e5a.tar.gz
glibc-a8874eadae699b5d4583aab3a860e06ecfcf5e5a.tar.bz2
Last minute change.cvs/libc-ud-960811-2
Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com> * nss/nsswitch.c (__nss_database_lookup): Always release locks before returning. Reported by Miles Bader. (distributes): Add databases.def.
Diffstat (limited to 'nss/nsswitch.h')
-rw-r--r--nss/nsswitch.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/nss/nsswitch.h b/nss/nsswitch.h
index c4d4d11..0c99f14 100644
--- a/nss/nsswitch.h
+++ b/nss/nsswitch.h
@@ -23,24 +23,11 @@ Boston, MA 02111-1307, USA. */
#include <arpa/nameser.h>
#include <netinet/in.h>
+#include <nss.h>
#include <resolv.h>
#include <search.h>
-/* Revision number of NSS interface (must be a string). */
-#define NSS_SHLIB_REVISION ".1"
-
-
-/* Possible results of lookup using a nss_* function. */
-enum nss_status
-{
- NSS_STATUS_TRYAGAIN = -2,
- NSS_STATUS_UNAVAIL,
- NSS_STATUS_NOTFOUND,
- NSS_STATUS_SUCCESS,
-};
-
-
/* Actions performed after lookup finished. */
typedef enum
{