X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib.h;h=b496e04c3a2d45483e44dbcb5881a2cc02257d30;hp=2bda25d2fa06e70b03b3b30457d60af757b8d059;hb=d70c5dfc0740eafa116245d8331460434779405e;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/lib.h b/lib.h index 2bda25d..b496e04 100644 --- a/lib.h +++ b/lib.h @@ -25,8 +25,6 @@ #ifndef _LIB_H # define _LIB_H -# include "config.h" - # include # include # ifdef HAVE_UNISTD_H @@ -93,6 +91,7 @@ on some systems */ # define SKIPWS(c) while (*(c) && isspace ((unsigned char) *(c))) c++; +#define ISBLANK(c) (c == ' ' || c == '\t') /* * These functions aren't defined in lib.c, but * they are used there. @@ -115,6 +114,8 @@ char *mutt_skip_whitespace (char *); char *mutt_strlower (char *); char *mutt_substrcpy (char *, const char *, const char *, size_t); char *mutt_substrdup (const char *, const char *); +char *safe_strcat (char *, size_t, const char *); +char *safe_strncat (char *, size_t, const char *, size_t); char *safe_strdup (const char *); const char *mutt_stristr (const char *, const char *);