mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-26 22:12:26 +00:00
and thus, nonnull. Suggested-by: Serge Hallyn <serge@hallyn.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
21 lines
456 B
C
21 lines
456 B
C
// SPDX-FileCopyrightText: 2025, Alejandro Colomar <alx@kernel.org>
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
#ifndef _SHADOW_INCLUDE_LIB_FIELDS_H_
|
|
#define _SHADOW_INCLUDE_LIB_FIELDS_H_
|
|
|
|
|
|
#include <config.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
#define valid_field(field, illegal) valid_field_(field, "" illegal "")
|
|
|
|
|
|
int valid_field_(const char *field, const char *illegal);
|
|
void change_field(char *buf, size_t maxsize, const char *prompt);
|
|
|
|
|
|
#endif // include guard
|