#ifndef __token_h_ #define __token_h_ #ifdef __cplusplus extern "C" { #endif void chomp(char *s); void skipSpace(char **pp); void skipUntilSpace(char **pp); int getTokenStr(char **pp, char *buf, int maxlen); int getTokenStrUntil(char **pp, char *buf, int maxlen, char term); int getTokenStrAll(char **pp, char *buf, int maxlen); int getTokenInt(char **pp, int *pval); #ifdef __cplusplus } #endif #endif /* __token_h_ */