* Copyright © 2006 Pierre Habouzit
*/
-#ifndef MUTT_LIB_LIB_STR_H
-#define MUTT_LIB_LIB_STR_H
+#ifndef POSTLICYD_STR_H
+#define POSTLICYD_STR_H
#include "mem.h"
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))
}
/*@}*/
-#endif /* MUTT_LIB_LIB_STR_H */
+#endif /* POSTLICYD_STR_H */