History log of /netbsd-src/include/nsswitch.h (Results 1 – 22 of 22)
Revision Date Author Comments
# 398f5724 23-Jan-2016 dholland <dholland@NetBSD.org>

Apparently a recent round of vandalism by the C++ standards committee
includes disallowing the standard and historic type name "unsigned". Add
a gratuitous "int" to recent changes.

C++ is really a b

Apparently a recent round of vandalism by the C++ standards committee
includes disallowing the standard and historic type name "unsigned". Add
a gratuitous "int" to recent changes.

C++ is really a blight on the world.

show more ...


# 888c1340 22-Jan-2016 dholland <dholland@NetBSD.org>

u_char, u_int, u_long -> unsigned char, unsigned, unsigned long

This makes these headers work without _NETBSD_SOURCE.


# 3eb244d8 17-Jul-2011 joerg <joerg@NetBSD.org>

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce a

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

show more ...


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 1d0c670b 15-Oct-2006 christos <christos@NetBSD.org>

add a NULL callback initializer


# 1f2f0802 29-Nov-2005 christos <christos@NetBSD.org>

sprinkle __UNCONST


# 19b7469a 03-Feb-2005 perry <perry@NetBSD.org>

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.


# 5994f053 10-Nov-2004 lukem <lukem@NetBSD.org>

* Improve the comments in <nsswitch.h>
* Provide some more useful default ns_src arrays.


# 25d91a60 04-Oct-2004 lukem <lukem@NetBSD.org>

* Re-number NS_FORCEALL from 1<<7 to 1<<8, moving it out of the "public"
bitrange for nsdispatch(3) return values.
* Tweak documentation comments in nsswitch.h
* Ensure the result from the back-end

* Re-number NS_FORCEALL from 1<<7 to 1<<8, moving it out of the "public"
bitrange for nsdispatch(3) return values.
* Tweak documentation comments in nsswitch.h
* Ensure the result from the back-end method is masked with
NS_STATUSMASK before nsdispatch(3) returns it.

show more ...


# e775b9e3 29-Sep-2004 lukem <lukem@NetBSD.org>

Implement NS_FORCEALL, which may be set in defaults[0].flags by a caller of
nsdispatch(3) to indicate that all available database methods for a source
will be invoked. This is useful for functions s

Implement NS_FORCEALL, which may be set in defaults[0].flags by a caller of
nsdispatch(3) to indicate that all available database methods for a source
will be invoked. This is useful for functions such as endgrent(3).

show more ...


# 43d6d8d8 24-Jul-2004 thorpej <thorpej@NetBSD.org>

Add support for dynamically loading nsswitch modules on ELF platforms.
Adapted from FreeBSD. Maintains full backward API / ABI compatbility
with built-in-only nsdispatch().

While here, also make ns

Add support for dynamically loading nsswitch modules on ELF platforms.
Adapted from FreeBSD. Maintains full backward API / ABI compatbility
with built-in-only nsdispatch().

While here, also make nsdispatch() itself thread-safe.

show more ...


# a7c803af 09-Jul-2003 kristerw <kristerw@NetBSD.org>

Remove variable names from prototypes.


# 0891c39b 20-Dec-2000 christos <christos@NetBSD.org>

remove declaration of _nsyylineno from here.


# 56af0588 13-Dec-2000 scw <scw@NetBSD.org>

Declare _nsyylineno as extern since it belongs in the data section
(due to being initialised in nslexer.[cy]).


# 3f935d01 13-Jun-2000 simonb <simonb@NetBSD.org>

Remove 'extern' from function declarations.


# 338f7d21 28-Nov-1999 lukem <lukem@NetBSD.org>

change retval of _nsdbtaddsrc and _nsdbtput


# 6b9774ba 18-Apr-1999 lukem <lukem@NetBSD.org>

use _BSD_VA_LIST_ from <machine/ansi.h> instead of using va_list from
<[stdarg,varargs}.h>. as recommended by Klaus Klein.


# 8dacb365 26-Jan-1999 lukem <lukem@NetBSD.org>

always add compat functions in NS_COMPAT_CB; make it the responsibility of
the methods to check that yp/hesiod is supported.


# ecaf6583 19-Jan-1999 lukem <lukem@NetBSD.org>

* support extra two arguments to nsdispatch():
const char *method /* method name for dynamic linking */
const ns_src defaults[] /* list of defaults */
* bring ns_src into the public arena for abo

* support extra two arguments to nsdispatch():
const char *method /* method name for dynamic linking */
const ns_src defaults[] /* list of defaults */
* bring ns_src into the public arena for above
* make NS_xxx_CB() expand to nothing instead of { src, NULL } - makes
the tables smaller
* convert 'typedef struct xyz { ... } xyz' -> 'typedef struct { ... } xyz'
(which is how it used to be before i experimented with (and ditched) TAILQs)

show more ...


# b02776f6 18-Jan-1999 lukem <lukem@NetBSD.org>

actually set the cb_data field to the (,C) arg in NS_*_CB()


# a5476903 16-Jan-1999 lukem <lukem@NetBSD.org>

remove NSSRC_NISPLUS for now, NSDB_NETWORKS is now implemented


# f649503d 15-Jan-1999 lukem <lukem@NetBSD.org>

merge nsswitch into main branch