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>
26 lines
895 B
C
26 lines
895 B
C
/*
|
|
* SPDX-FileCopyrightText: 1991 - 1994, Julianne Frances Haugh
|
|
* SPDX-FileCopyrightText: 1996 - 2000, Marek Michałkiewicz
|
|
* SPDX-FileCopyrightText: 2002 - 2006, Tomasz Kłoczko
|
|
* SPDX-FileCopyrightText: 2008 , Nicolas François
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef _GETDEF_H
|
|
#define _GETDEF_H
|
|
|
|
/* getdef.c */
|
|
extern bool getdef_bool (const char *);
|
|
extern long getdef_long (const char *, long);
|
|
extern int getdef_num (const char *, int);
|
|
extern unsigned long getdef_ulong (const char *, unsigned long);
|
|
extern unsigned int getdef_unum (const char *, unsigned int);
|
|
extern /*@observer@*/ /*@null@*/const char *getdef_str (const char *);
|
|
extern int putdef_str (const char *, const char *);
|
|
extern void setdef_config_file (const char* file);
|
|
|
|
/* default UMASK value if not specified in /etc/login.defs */
|
|
#define GETDEF_DEFAULT_UMASK 022
|
|
|
|
#endif /* _GETDEF_H */
|