f93cf255d4
Closes #238 Update all files to list SPDX license shortname. Most files are BSD 3 clause license. The exceptions are: serge@sl ~/src/shadow$ git grep SPDX-License | grep -v BSD-3-Clause contrib/atudel:# SPDX-License-Identifier: BSD-4-Clause lib/tcbfuncs.c: * SPDX-License-Identifier: 0BSD libmisc/salt.c: * SPDX-License-Identifier: Unlicense src/login_nopam.c: * SPDX-License-Identifier: Unlicense src/nologin.c: * SPDX-License-Identifier: BSD-2-Clause src/vipw.c: * SPDX-License-Identifier: GPL-2.0-or-later Signed-off-by: Serge Hallyn <serge@hallyn.com>
31 lines
924 B
C
31 lines
924 B
C
/*
|
|
* SPDX-FileCopyrightText: 1990 - 1994, Julianne Frances Haugh
|
|
* SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz
|
|
* SPDX-FileCopyrightText: 2001 - 2005, Tomasz Kłoczko
|
|
* SPDX-FileCopyrightText: 2008 , Nicolas François
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/* $Id$ */
|
|
#ifndef SHADOWIO_H
|
|
#define SHADOWIO_H
|
|
|
|
#include "defines.h"
|
|
|
|
extern int spw_close (void);
|
|
extern bool spw_file_present (void);
|
|
extern /*@observer@*/ /*@null@*/const struct spwd *spw_locate (const char *name);
|
|
extern int spw_lock (void);
|
|
extern int spw_setdbname (const char *filename);
|
|
extern /*@observer@*/const char *spw_dbname (void);
|
|
extern /*@observer@*/ /*@null@*/const struct spwd *spw_next (void);
|
|
extern int spw_open (int mode);
|
|
extern int spw_remove (const char *name);
|
|
extern int spw_rewind (void);
|
|
extern int spw_unlock (void);
|
|
extern int spw_update (const struct spwd *sp);
|
|
extern int spw_sort (void);
|
|
|
|
#endif
|