nsswitch.h (65532) | nsswitch.h (93032) |
---|---|
1/* $NetBSD: nsswitch.h,v 1.6 1999/01/26 01:04:07 lukem Exp $ */ | 1/* $NetBSD: nsswitch.h,v 1.6 1999/01/26 01:04:07 lukem Exp $ */ |
2/* $FreeBSD: head/include/nsswitch.h 65532 2000-09-06 18:16:48Z nectar $ */ | 2/* $FreeBSD: head/include/nsswitch.h 93032 2002-03-23 17:24:55Z imp $ */ |
3 4/*- 5 * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation 9 * by Luke Mewburn. 10 * --- 26 unchanged lines hidden (view full) --- 37 * POSSIBILITY OF SUCH DAMAGE. 38 */ 39 40#ifndef _NSSWITCH_H 41#define _NSSWITCH_H 1 42 43#include <sys/types.h> 44 | 3 4/*- 5 * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation 9 * by Luke Mewburn. 10 * --- 26 unchanged lines hidden (view full) --- 37 * POSSIBILITY OF SUCH DAMAGE. 38 */ 39 40#ifndef _NSSWITCH_H 41#define _NSSWITCH_H 1 42 43#include <sys/types.h> 44 |
45#if __STDC__ | |
46#include <stdarg.h> | 45#include <stdarg.h> |
47#else 48#include <varargs.h> 49#endif | |
50 51#ifndef _PATH_NS_CONF 52#define _PATH_NS_CONF "/etc/nsswitch.conf" 53#endif 54 55#define NS_CONTINUE 0 56#define NS_RETURN 1 57 --- 107 unchanged lines hidden (view full) --- 165} ns_dbt; 166 167#endif /* _NS_PRIVATE */ 168 169 170#include <sys/cdefs.h> 171 172__BEGIN_DECLS | 46 47#ifndef _PATH_NS_CONF 48#define _PATH_NS_CONF "/etc/nsswitch.conf" 49#endif 50 51#define NS_CONTINUE 0 52#define NS_RETURN 1 53 --- 107 unchanged lines hidden (view full) --- 161} ns_dbt; 162 163#endif /* _NS_PRIVATE */ 164 165 166#include <sys/cdefs.h> 167 168__BEGIN_DECLS |
173extern int nsdispatch __P((void *, const ns_dtab [], const char *, 174 const char *, const ns_src [], ...)); | 169extern int nsdispatch(void *, const ns_dtab [], const char *, 170 const char *, const ns_src [], ...); |
175 176#ifdef _NS_PRIVATE | 171 172#ifdef _NS_PRIVATE |
177extern void _nsdbtaddsrc __P((ns_dbt *, const ns_src *)); 178extern void _nsdbtdump __P((const ns_dbt *)); 179extern const ns_dbt *_nsdbtget __P((const char *)); 180extern void _nsdbtput __P((const ns_dbt *)); 181extern void _nsyyerror __P((const char *)); 182extern int _nsyylex __P((void)); | 173extern void _nsdbtaddsrc(ns_dbt *, const ns_src *); 174extern void _nsdbtdump(const ns_dbt *); 175extern const ns_dbt *_nsdbtget(const char *); 176extern void _nsdbtput(const ns_dbt *); 177extern void _nsyyerror(const char *); 178extern int _nsyylex(void); |
183extern int _nsyylineno; 184#endif /* _NS_PRIVATE */ 185 186__END_DECLS 187 188#endif /* !_NSSWITCH_H */ | 179extern int _nsyylineno; 180#endif /* _NS_PRIVATE */ 181 182__END_DECLS 183 184#endif /* !_NSSWITCH_H */ |