Nico Golde:
[apps/madmutt.git] / lib.h
diff --git a/lib.h b/lib.h
index 2bda25d..b496e04 100644 (file)
--- a/lib.h
+++ b/lib.h
@@ -25,8 +25,6 @@
 #ifndef _LIB_H
 # define _LIB_H
 
-# include "config.h"
-
 # include <stdio.h>
 # include <string.h>
 # 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 *);