/******************************************************************************/
-/* postlicyd: a postfix policy daemon with a lot of features */
+/* pfixtools: a collection of postfix related tools */
/* ~~~~~~~~~ */
/* ________________________________________________________________________ */
/* */
* Copyright © 2006 Pierre Habouzit
*/
-#ifndef POSTLICYD_STR_H
-#define POSTLICYD_STR_H
+#ifndef PFIXTOOLS_STR_H
+#define PFIXTOOLS_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 /* POSTLICYD_STR_H */
+#endif /* PFIXTOOLS_STR_H */