Lot of work on postlicyd, also make the repository a general postfix-addons repo.
[apps/pfixtools.git] / str.h
diff --git a/str.h b/str.h
index d51b603..447e6d4 100644 (file)
--- a/str.h
+++ b/str.h
@@ -338,6 +338,14 @@ static inline const char *m_strnextsp(const char *s) {
     return s;
 }
 
+__attribute__((nonnull(1)))
+static inline char *m_vstrnextsp(char *s) {
+    while (*s && !isspace((unsigned char)*s))
+        s++;
+    return s;
+}
+
+
 __attribute__((nonnull(1)))
 static inline const char *skipspaces(const char *s) {
     while (isspace((unsigned char)*s))