xref: /f-stack/tools/libutil/auth.c (revision 22ce4aff)
1*22ce4affSfengbojiang /*-
2*22ce4affSfengbojiang  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3*22ce4affSfengbojiang  *
41eaf0ac3Slogwang  * Simple authentication database handling code.
51eaf0ac3Slogwang  *
61eaf0ac3Slogwang  * Copyright (c) 1998
71eaf0ac3Slogwang  *	Jordan Hubbard.  All rights reserved.
81eaf0ac3Slogwang  *
91eaf0ac3Slogwang  * Redistribution and use in source and binary forms, with or without
101eaf0ac3Slogwang  * modification, are permitted provided that the following conditions
111eaf0ac3Slogwang  * are met:
121eaf0ac3Slogwang  * 1. Redistributions of source code must retain the above copyright
131eaf0ac3Slogwang  *    notice, this list of conditions and the following disclaimer,
141eaf0ac3Slogwang  *    verbatim and that no modifications are made prior to this
151eaf0ac3Slogwang  *    point in the file.
161eaf0ac3Slogwang  * 2. Redistributions in binary form must reproduce the above copyright
171eaf0ac3Slogwang  *    notice, this list of conditions and the following disclaimer in the
181eaf0ac3Slogwang  *    documentation and/or other materials provided with the distribution.
191eaf0ac3Slogwang  *
201eaf0ac3Slogwang  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
211eaf0ac3Slogwang  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
221eaf0ac3Slogwang  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
231eaf0ac3Slogwang  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR HIS PETS BE LIABLE
241eaf0ac3Slogwang  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
251eaf0ac3Slogwang  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
261eaf0ac3Slogwang  * OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS INTERRUPTION)
271eaf0ac3Slogwang  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
281eaf0ac3Slogwang  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
291eaf0ac3Slogwang  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
301eaf0ac3Slogwang  * SUCH DAMAGE.
311eaf0ac3Slogwang  */
321eaf0ac3Slogwang 
331eaf0ac3Slogwang #include <sys/cdefs.h>
341eaf0ac3Slogwang __FBSDID("$FreeBSD$");
351eaf0ac3Slogwang 
361eaf0ac3Slogwang #include <stdlib.h>
371eaf0ac3Slogwang 
381eaf0ac3Slogwang #include <libutil.h>
391eaf0ac3Slogwang 
401eaf0ac3Slogwang char *
auth_getval(const char * name)411eaf0ac3Slogwang auth_getval(const char *name)
421eaf0ac3Slogwang {
431eaf0ac3Slogwang 
441eaf0ac3Slogwang 	(void)name;
451eaf0ac3Slogwang 	return (NULL);
461eaf0ac3Slogwang }
47