xref: /freebsd/lib/libc/net/nss_backends.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
146d93063SJacques Vidrine /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3d915a14eSPedro F. Giffuni  *
446d93063SJacques Vidrine  * Copyright (c) 2003 Networks Associates Technology, Inc.
546d93063SJacques Vidrine  * All rights reserved.
646d93063SJacques Vidrine  *
746d93063SJacques Vidrine  * This software was developed for the FreeBSD Project by
846d93063SJacques Vidrine  * Jacques A. Vidrine, Safeport Network Services, and Network
946d93063SJacques Vidrine  * Associates Laboratories, the Security Research Division of Network
1046d93063SJacques Vidrine  * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
1146d93063SJacques Vidrine  * ("CBOSS"), as part of the DARPA CHATS research program.
1246d93063SJacques Vidrine  *
1346d93063SJacques Vidrine  * Redistribution and use in source and binary forms, with or without
1446d93063SJacques Vidrine  * modification, are permitted provided that the following conditions
1546d93063SJacques Vidrine  * are met:
1646d93063SJacques Vidrine  * 1. Redistributions of source code must retain the above copyright
1746d93063SJacques Vidrine  *    notice, this list of conditions and the following disclaimer.
1846d93063SJacques Vidrine  * 2. Redistributions in binary form must reproduce the above copyright
1946d93063SJacques Vidrine  *    notice, this list of conditions and the following disclaimer in the
2046d93063SJacques Vidrine  *    documentation and/or other materials provided with the distribution.
2146d93063SJacques Vidrine  *
2246d93063SJacques Vidrine  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2346d93063SJacques Vidrine  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2446d93063SJacques Vidrine  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2546d93063SJacques Vidrine  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2646d93063SJacques Vidrine  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2746d93063SJacques Vidrine  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2846d93063SJacques Vidrine  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2946d93063SJacques Vidrine  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3046d93063SJacques Vidrine  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3146d93063SJacques Vidrine  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3246d93063SJacques Vidrine  * SUCH DAMAGE.
3346d93063SJacques Vidrine  */
3446d93063SJacques Vidrine /*
3546d93063SJacques Vidrine  * Eventually, the implementations of existing built-in NSS functions
3646d93063SJacques Vidrine  * may be moved into NSS modules and live here.
3746d93063SJacques Vidrine  */
3846d93063SJacques Vidrine #if 0
3946d93063SJacques Vidrine NSS_BACKEND(	files,	_files_nss_module_register	)
4046d93063SJacques Vidrine NSS_BACKEND(	dns,	_dns_nss_module_register	)
4146d93063SJacques Vidrine NSS_BACKEND(	nis,	_nis_nss_module_register	)
4246d93063SJacques Vidrine NSS_BACKEND(	compat,	_compat_nss_module_register	)
4346d93063SJacques Vidrine #endif
44