2008-04-27 00:40:09 +00:00
|
|
|
/*
|
2021-12-05 09:35:27 -06:00
|
|
|
* 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 00:40:09 +00:00
|
|
|
*
|
2021-12-05 09:35:27 -06:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2008-04-27 00:40:09 +00:00
|
|
|
*/
|
|
|
|
|
2007-11-10 23:46:11 +00:00
|
|
|
/* $Id$ */
|
2007-10-07 11:44:02 +00:00
|
|
|
#ifndef _CHKNAME_H_
|
|
|
|
#define _CHKNAME_H_
|
|
|
|
|
|
|
|
/*
|
2008-05-25 20:58:16 +00:00
|
|
|
* 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 11:44:02 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "defines.h"
|
|
|
|
|
2008-05-25 20:58:16 +00:00
|
|
|
extern bool is_valid_user_name (const char *name);
|
|
|
|
extern bool is_valid_group_name (const char *name);
|
2007-10-07 11:44:02 +00:00
|
|
|
|
|
|
|
#endif
|