1*5c007436SBen Gras /* $NetBSD: grutil.h,v 1.2 2008/04/28 20:24:14 martin Exp $ */ 2*5c007436SBen Gras 3*5c007436SBen Gras /*- 4*5c007436SBen Gras * Copyright (c) 2007 The NetBSD Foundation, Inc. 5*5c007436SBen Gras * All rights reserved. 6*5c007436SBen Gras * 7*5c007436SBen Gras * This code is derived from software contributed to The NetBSD Foundation 8*5c007436SBen Gras * by Brian Ginsbach. 9*5c007436SBen Gras * 10*5c007436SBen Gras * Redistribution and use in source and binary forms, with or without 11*5c007436SBen Gras * modification, are permitted provided that the following conditions 12*5c007436SBen Gras * are met: 13*5c007436SBen Gras * 1. Redistributions of source code must retain the above copyright 14*5c007436SBen Gras * notice, this list of conditions and the following disclaimer. 15*5c007436SBen Gras * 2. Redistributions in binary form must reproduce the above copyright 16*5c007436SBen Gras * notice, this list of conditions and the following disclaimer in the 17*5c007436SBen Gras * documentation and/or other materials provided with the distribution. 18*5c007436SBen Gras * 19*5c007436SBen Gras * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20*5c007436SBen Gras * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21*5c007436SBen Gras * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22*5c007436SBen Gras * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23*5c007436SBen Gras * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24*5c007436SBen Gras * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25*5c007436SBen Gras * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26*5c007436SBen Gras * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27*5c007436SBen Gras * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28*5c007436SBen Gras * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29*5c007436SBen Gras * POSSIBILITY OF SUCH DAMAGE. 30*5c007436SBen Gras */ 31*5c007436SBen Gras #ifndef _GRUTIL_H_ 32*5c007436SBen Gras #define _GRUTIL_H_ 33*5c007436SBen Gras 34*5c007436SBen Gras void addgroup( 35*5c007436SBen Gras #ifdef LOGIN_CAP 36*5c007436SBen Gras login_cap_t *, 37*5c007436SBen Gras #endif 38*5c007436SBen Gras const char *, struct passwd *, uid_t, const char *); 39*5c007436SBen Gras 40*5c007436SBen Gras #endif /* _GRUTIL_H_ */ 41