Home | History | Annotate | Line # | Download | only in user
usermgmt.h revision 1.4.4.2
      1  1.4.4.2  he /* $NetBSD: usermgmt.h,v 1.4.4.2 2000/01/21 00:01:35 he Exp $ */
      2  1.4.4.2  he 
      3  1.4.4.2  he /*
      4  1.4.4.2  he  * Copyright (c) 1999 Alistair G. Crooks.  All rights reserved.
      5  1.4.4.2  he  *
      6  1.4.4.2  he  * Redistribution and use in source and binary forms, with or without
      7  1.4.4.2  he  * modification, are permitted provided that the following conditions
      8  1.4.4.2  he  * are met:
      9  1.4.4.2  he  * 1. Redistributions of source code must retain the above copyright
     10  1.4.4.2  he  *    notice, this list of conditions and the following disclaimer.
     11  1.4.4.2  he  * 2. Redistributions in binary form must reproduce the above copyright
     12  1.4.4.2  he  *    notice, this list of conditions and the following disclaimer in the
     13  1.4.4.2  he  *    documentation and/or other materials provided with the distribution.
     14  1.4.4.2  he  * 3. All advertising materials mentioning features or use of this software
     15  1.4.4.2  he  *    must display the following acknowledgement:
     16  1.4.4.2  he  *	This product includes software developed by Alistair G. Crooks.
     17  1.4.4.2  he  * 4. The name of the author may not be used to endorse or promote
     18  1.4.4.2  he  *    products derived from this software without specific prior written
     19  1.4.4.2  he  *    permission.
     20  1.4.4.2  he  *
     21  1.4.4.2  he  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
     22  1.4.4.2  he  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     23  1.4.4.2  he  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     24  1.4.4.2  he  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
     25  1.4.4.2  he  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     26  1.4.4.2  he  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
     27  1.4.4.2  he  * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     28  1.4.4.2  he  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     29  1.4.4.2  he  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
     30  1.4.4.2  he  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
     31  1.4.4.2  he  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     32  1.4.4.2  he  */
     33  1.4.4.2  he #ifndef USERMGMT_H_
     34  1.4.4.2  he #define USERMGMT_H_
     35  1.4.4.2  he 
     36  1.4.4.2  he int useradd __P((int, char **));
     37  1.4.4.2  he int usermod __P((int, char **));
     38  1.4.4.2  he int userdel __P((int, char **));
     39  1.4.4.2  he int groupadd __P((int, char **));
     40  1.4.4.2  he int groupdel __P((int, char **));
     41  1.4.4.2  he int groupmod __P((int, char **));
     42  1.4.4.2  he 
     43  1.4.4.2  he #ifdef EXTENSIONS
     44  1.4.4.2  he int userinfo __P((int, char **));
     45  1.4.4.2  he int groupinfo __P((int, char **));
     46  1.4.4.2  he #endif
     47  1.4.4.2  he 
     48  1.4.4.2  he void usermgmt_usage __P((char *));
     49  1.4.4.2  he 
     50  1.4.4.2  he #endif
     51