2008-04-27 06:10:09 +05:30
|
|
|
/*
|
2021-12-05 21:05:27 +05:30
|
|
|
* SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh
|
|
|
|
* SPDX-FileCopyrightText: 1997 - 2000, Marek Michałkiewicz
|
|
|
|
* SPDX-FileCopyrightText: 2005 , Tomasz Kłoczko
|
|
|
|
* SPDX-FileCopyrightText: 2008 , Nicolas François
|
2008-04-27 06:10:09 +05:30
|
|
|
*
|
2021-12-05 21:05:27 +05:30
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2008-04-27 06:10:09 +05:30
|
|
|
*/
|
|
|
|
|
2007-11-11 05:16:11 +05:30
|
|
|
/* $Id$ */
|
2007-10-07 17:14:02 +05:30
|
|
|
#ifndef _CHKNAME_H_
|
|
|
|
#define _CHKNAME_H_
|
|
|
|
|
|
|
|
/*
|
2008-05-26 02:28:16 +05:30
|
|
|
* is_valid_user_name(), is_valid_group_name() - check the new user/group
|
|
|
|
* name for validity;
|
|
|
|
* return values:
|
|
|
|
* true - OK
|
|
|
|
* false - bad name
|
2007-10-07 17:14:02 +05:30
|
|
|
*/
|
|
|
|
|
|
|
|
#include "defines.h"
|
|
|
|
|
2008-05-26 02:28:16 +05:30
|
|
|
extern bool is_valid_user_name (const char *name);
|
|
|
|
extern bool is_valid_group_name (const char *name);
|
2007-10-07 17:14:02 +05:30
|
|
|
|
|
|
|
#endif
|