From 43ab3781a768f8071c6e061fd451973e623bb326 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 8 Mar 2026 01:11:47 +0100 Subject: Added is_too_long() --- FICS/maxxes-utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FICS/maxxes-utils.h') diff --git a/FICS/maxxes-utils.h b/FICS/maxxes-utils.h index 667151f..034c7ee 100644 --- a/FICS/maxxes-utils.h +++ b/FICS/maxxes-utils.h @@ -1,6 +1,7 @@ #ifndef MAXXES_UTILITIES_H #define MAXXES_UTILITIES_H +#include #include #include "common.h" @@ -12,6 +13,8 @@ #define mstrlcat(p_dst, p_src, p_dstsize) \ strlcat_trunc_chk((p_dst), (p_src), (p_dstsize), __FILE__, __LINE__) +bool is_too_long(const int, const size_t); + void snprintf_trunc_chk(const char *file, const long int line, char *str, size_t size, const char *format, ...) PRINTFLIKE(5); void strlcpy_trunc_chk(char *dst, const char *src, size_t dstsize, -- cgit v1.2.3