login.h revision 155312
187173Smarkm/*- 287173Smarkm * Copyright (c) 2001 FreeBSD, Inc 387173Smarkm * 487173Smarkm * Redistribution and use in source and binary forms, with or without 587173Smarkm * modification, are permitted provided that the following conditions 687173Smarkm * are met: 787173Smarkm * 1. Redistributions of source code must retain the above copyright 887173Smarkm * notice, this list of conditions and the following disclaimer. 987173Smarkm * 2. Redistributions in binary form must reproduce the above copyright 1087173Smarkm * notice, this list of conditions and the following disclaimer in the 1187173Smarkm * documentation and/or other materials provided with the distribution. 1287173Smarkm * 1387173Smarkm * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1487173Smarkm * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1587173Smarkm * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1687173Smarkm * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1787173Smarkm * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1887173Smarkm * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1987173Smarkm * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2087173Smarkm * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2187173Smarkm * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2287173Smarkm * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2387173Smarkm * SUCH DAMAGE. 2487173Smarkm * 2587173Smarkm * $FreeBSD: head/usr.bin/login/login.h 155312 2006-02-04 20:20:02Z wsalamon $ 2687173Smarkm */ 2787173Smarkm 2892920Simpvoid login_fbtab(char *, uid_t, gid_t); 2987173Smarkm 30155312Swsalamonvoid au_login_success(void); 31155312Swsalamonvoid au_login_fail(char *errmsg, int na); 32155312Swsalamon 33155312Swsalamonextern char **environ; 34155312Swsalamonextern struct passwd *pwd; 35