1*00709a77SThomas Cort /* $NetBSD: term_chk.h,v 1.2 2003/08/07 11:17:48 agc Exp $ */ 2*00709a77SThomas Cort 3*00709a77SThomas Cort /* 4*00709a77SThomas Cort * Copyright (c) 1989, 1993 5*00709a77SThomas Cort * The Regents of the University of California. All rights reserved. 6*00709a77SThomas Cort * 7*00709a77SThomas Cort * This code is derived from software contributed to Berkeley by 8*00709a77SThomas Cort * Jef Poskanzer and Craig Leres of the Lawrence Berkeley Laboratory. 9*00709a77SThomas Cort * 10*00709a77SThomas Cort * Redistribution and use in source and binary forms, with or without 11*00709a77SThomas Cort * modification, are permitted provided that the following conditions 12*00709a77SThomas Cort * are met: 13*00709a77SThomas Cort * 1. Redistributions of source code must retain the above copyright 14*00709a77SThomas Cort * notice, this list of conditions and the following disclaimer. 15*00709a77SThomas Cort * 2. Redistributions in binary form must reproduce the above copyright 16*00709a77SThomas Cort * notice, this list of conditions and the following disclaimer in the 17*00709a77SThomas Cort * documentation and/or other materials provided with the distribution. 18*00709a77SThomas Cort * 3. Neither the name of the University nor the names of its contributors 19*00709a77SThomas Cort * may be used to endorse or promote products derived from this software 20*00709a77SThomas Cort * without specific prior written permission. 21*00709a77SThomas Cort * 22*00709a77SThomas Cort * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23*00709a77SThomas Cort * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24*00709a77SThomas Cort * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25*00709a77SThomas Cort * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26*00709a77SThomas Cort * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27*00709a77SThomas Cort * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28*00709a77SThomas Cort * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29*00709a77SThomas Cort * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30*00709a77SThomas Cort * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31*00709a77SThomas Cort * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32*00709a77SThomas Cort * SUCH DAMAGE. 33*00709a77SThomas Cort */ 34*00709a77SThomas Cort 35*00709a77SThomas Cort int term_chk(uid_t, const char *, int *, time_t *, int, gid_t); 36*00709a77SThomas Cort char *check_sender(time_t *, uid_t, gid_t); 37