xref: /openbsd-src/usr.bin/ssh/groupaccess.h (revision 0d0102a1525539b2ad923c307c9370d965001510)
1*0d0102a1Sdjm /* $OpenBSD: groupaccess.h,v 1.8 2008/07/04 03:44:59 djm Exp $ */
2d4e7c603Sniklas 
336ebf654Smarkus /*
436ebf654Smarkus  * Copyright (c) 2001 Kevin Steves.  All rights reserved.
536ebf654Smarkus  *
636ebf654Smarkus  * Redistribution and use in source and binary forms, with or without
736ebf654Smarkus  * modification, are permitted provided that the following conditions
836ebf654Smarkus  * are met:
936ebf654Smarkus  * 1. Redistributions of source code must retain the above copyright
1036ebf654Smarkus  *    notice, this list of conditions and the following disclaimer.
1136ebf654Smarkus  * 2. Redistributions in binary form must reproduce the above copyright
1236ebf654Smarkus  *    notice, this list of conditions and the following disclaimer in the
1336ebf654Smarkus  *    documentation and/or other materials provided with the distribution.
1436ebf654Smarkus  *
1536ebf654Smarkus  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1636ebf654Smarkus  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1736ebf654Smarkus  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1836ebf654Smarkus  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1936ebf654Smarkus  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2036ebf654Smarkus  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2136ebf654Smarkus  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2236ebf654Smarkus  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2336ebf654Smarkus  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2436ebf654Smarkus  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2536ebf654Smarkus  */
2636ebf654Smarkus 
2736ebf654Smarkus #ifndef GROUPACCESS_H
2836ebf654Smarkus #define GROUPACCESS_H
2936ebf654Smarkus 
3008d1172dSitojun int	 ga_init(const char *, gid_t);
3108d1172dSitojun int	 ga_match(char * const *, int);
32*0d0102a1Sdjm int	 ga_match_pattern_list(const char *);
3336ebf654Smarkus void	 ga_free(void);
3436ebf654Smarkus 
3536ebf654Smarkus #endif
36