Files
shadow/lib/fields.h
2026-01-06 00:37:15 +01:00

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