X-Git-Url: https://git.deb.at/w?p=pkg%2Fabook.git;a=blobdiff_plain;f=abook.h;h=0631b8f0f858ff6fbbce6420e454d7687069f04e;hp=564caf39b946725839cab05b5e7fa0600b3f906a;hb=aa2211628a295b85990dbfd8af031d152b583f07;hpb=4b8f9231090ada43f7e16987ec46ac7f45a914ec diff --git a/abook.h b/abook.h index 564caf3..0631b8f 100644 --- a/abook.h +++ b/abook.h @@ -49,6 +49,9 @@ int strncasecmp (const char *, const char *, size_t); #define ISSPACE(c) isspace((unsigned char)c) +#define SKIPWS(c) while(*(c) && ISSPACE(*(c))) c++ +#define SKIPNONWS(c) while(*(c) && ! ISSPACE(*(c))) c++ + #ifndef DEBUG # define NDEBUG 1 #else