Home | History | Annotate | Download | only in include
History log of /src/include/nsswitch.h
RevisionDateAuthorComments
 1.23  23-Jan-2016  dholland 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.
 1.22  22-Jan-2016  dholland u_char, u_int, u_long -> unsigned char, unsigned, unsigned long

This makes these headers work without _NETBSD_SOURCE.
 1.21  17-Jul-2011  joerg 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.
 1.20  28-Apr-2008  martin branches: 1.20.10;
Remove clause 3 and 4 from TNF licenses
 1.19  15-Oct-2006  christos branches: 1.19.16;
add a NULL callback initializer
 1.18  29-Nov-2005  christos sprinkle __UNCONST
 1.17  03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.16  10-Nov-2004  lukem * Improve the comments in <nsswitch.h>
* Provide some more useful default ns_src arrays.
 1.15  04-Oct-2004  lukem * 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.
 1.14  29-Sep-2004  lukem 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).
 1.13  24-Jul-2004  thorpej 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.
 1.12  09-Jul-2003  kristerw Remove variable names from prototypes.
 1.11  20-Dec-2000  christos remove declaration of _nsyylineno from here.
 1.10  13-Dec-2000  scw Declare _nsyylineno as extern since it belongs in the data section
(due to being initialised in nslexer.[cy]).
 1.9  13-Jun-2000  simonb Remove 'extern' from function declarations.
 1.8  28-Nov-1999  lukem branches: 1.8.2;
change retval of _nsdbtaddsrc and _nsdbtput
 1.7  18-Apr-1999  lukem branches: 1.7.4;
use _BSD_VA_LIST_ from <machine/ansi.h> instead of using va_list from
<[stdarg,varargs}.h>. as recommended by Klaus Klein.
 1.6  26-Jan-1999  lukem always add compat functions in NS_COMPAT_CB; make it the responsibility of
the methods to check that yp/hesiod is supported.
 1.5  19-Jan-1999  lukem * 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)
 1.4  18-Jan-1999  lukem actually set the cb_data field to the (,C) arg in NS_*_CB()
 1.3  16-Jan-1999  lukem remove NSSRC_NISPLUS for now, NSDB_NETWORKS is now implemented
 1.2  15-Jan-1999  lukem merge nsswitch into main branch
 1.1  06-Nov-1996  lukem branches: 1.1.2; 1.1.4;
file nsswitch.h was initially added on branch nsswitch.
 1.1.4.7  15-Jan-1999  lukem remove NS_MAXSTR
 1.1.4.6  15-Jan-1999  lukem constify _nsyyerror
 1.1.4.5  13-Jan-1999  lukem rework to support arbitrary source names
 1.1.4.4  31-Oct-1998  lukem update to current, fix copyrights, reimplement MAXDNSLUS (for now)
 1.1.4.3  26-May-1997  lukem change the layout of the bitmask from a u_char, with 4 flags and 16
sources (in the other 4 bits) to a u_int32_t, with potentially 24
flags and 256 sources (although keep NS_MAXSOURCE at 16 for now)
 1.1.4.2  23-May-1997  lukem add rcsid
 1.1.4.1  23-May-1997  lukem Add necessary files for nsswitch, take 2
Remove support for "lookup" methods in resolv.conf
Remove prototypes for _ng_sl_*; these were replaced a long time ago
 1.1.2.1  06-Nov-1996  lukem initial nsswitch implementation
 1.7.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.2.1  23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.19.16.1  18-May-2008  yamt sync with head.
 1.20.10.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.20.10.1  28-Apr-2008  martin file nsswitch.h was added on branch christos-time_t on 2008-04-28 20:22:55 +0000

RSS XML Feed