1*89aaa1bbSagc /* $NetBSD: term_chk.h,v 1.2 2003/08/07 11:17:48 agc Exp $ */ 273b3e2aeSchristos 373b3e2aeSchristos /* 473b3e2aeSchristos * Copyright (c) 1989, 1993 573b3e2aeSchristos * The Regents of the University of California. All rights reserved. 673b3e2aeSchristos * 773b3e2aeSchristos * This code is derived from software contributed to Berkeley by 873b3e2aeSchristos * Jef Poskanzer and Craig Leres of the Lawrence Berkeley Laboratory. 973b3e2aeSchristos * 1073b3e2aeSchristos * Redistribution and use in source and binary forms, with or without 1173b3e2aeSchristos * modification, are permitted provided that the following conditions 1273b3e2aeSchristos * are met: 1373b3e2aeSchristos * 1. Redistributions of source code must retain the above copyright 1473b3e2aeSchristos * notice, this list of conditions and the following disclaimer. 1573b3e2aeSchristos * 2. Redistributions in binary form must reproduce the above copyright 1673b3e2aeSchristos * notice, this list of conditions and the following disclaimer in the 1773b3e2aeSchristos * documentation and/or other materials provided with the distribution. 18*89aaa1bbSagc * 3. Neither the name of the University nor the names of its contributors 1973b3e2aeSchristos * may be used to endorse or promote products derived from this software 2073b3e2aeSchristos * without specific prior written permission. 2173b3e2aeSchristos * 2273b3e2aeSchristos * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2373b3e2aeSchristos * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2473b3e2aeSchristos * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2573b3e2aeSchristos * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2673b3e2aeSchristos * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2773b3e2aeSchristos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2873b3e2aeSchristos * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2973b3e2aeSchristos * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3073b3e2aeSchristos * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3173b3e2aeSchristos * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3273b3e2aeSchristos * SUCH DAMAGE. 3373b3e2aeSchristos */ 3473b3e2aeSchristos 3573b3e2aeSchristos int term_chk(uid_t, const char *, int *, time_t *, int, gid_t); 3673b3e2aeSchristos char *check_sender(time_t *, uid_t, gid_t); 37