nsswitch.h (e58eb3c437974277957187cfed4b9aa0c1a1e253) nsswitch.h (144361386696582c04592f200a4c2e3339c81a25)
1/* $NetBSD: nsswitch.h,v 1.6 1999/01/26 01:04:07 lukem Exp $ */
2/* $FreeBSD$ */
3
4/*-
5 * SPDX-License-Identifier: BSD-2-Clause-NetBSD
6 *
7 * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
8 * All rights reserved.

--- 39 unchanged lines hidden (view full) ---

48#define NS_ACTION_CONTINUE 0 /* try the next source */
49#define NS_ACTION_RETURN 1 /* look no further */
50
51#define NS_SUCCESS (1<<0) /* entry was found */
52#define NS_UNAVAIL (1<<1) /* source not responding, or corrupt */
53#define NS_NOTFOUND (1<<2) /* source responded 'no such entry' */
54#define NS_TRYAGAIN (1<<3) /* source busy, may respond to retry */
55#define NS_RETURN (1<<4) /* stop search, e.g. for ERANGE */
1/* $NetBSD: nsswitch.h,v 1.6 1999/01/26 01:04:07 lukem Exp $ */
2/* $FreeBSD$ */
3
4/*-
5 * SPDX-License-Identifier: BSD-2-Clause-NetBSD
6 *
7 * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
8 * All rights reserved.

--- 39 unchanged lines hidden (view full) ---

48#define NS_ACTION_CONTINUE 0 /* try the next source */
49#define NS_ACTION_RETURN 1 /* look no further */
50
51#define NS_SUCCESS (1<<0) /* entry was found */
52#define NS_UNAVAIL (1<<1) /* source not responding, or corrupt */
53#define NS_NOTFOUND (1<<2) /* source responded 'no such entry' */
54#define NS_TRYAGAIN (1<<3) /* source busy, may respond to retry */
55#define NS_RETURN (1<<4) /* stop search, e.g. for ERANGE */
56#define NS_ADDRFAMILY (1<<5) /* no addr for fam, getaddrinfo only */
56#define NS_TERMINATE (NS_SUCCESS|NS_RETURN) /* flags that end search */
57#define NS_STATUSMASK 0x000000ff /* bitmask to get the status flags */
58
59/*
60 * currently implemented sources
61 */
62#define NSSRC_FILES "files" /* local files */
63#define NSSRC_DB "db" /* database */

--- 183 unchanged lines hidden ---
57#define NS_TERMINATE (NS_SUCCESS|NS_RETURN) /* flags that end search */
58#define NS_STATUSMASK 0x000000ff /* bitmask to get the status flags */
59
60/*
61 * currently implemented sources
62 */
63#define NSSRC_FILES "files" /* local files */
64#define NSSRC_DB "db" /* database */

--- 183 unchanged lines hidden ---