#include "../include/uirc.h" #include #include #include int main(void) { char mesg[513] = #ifdef UIRC_IRCV3 "@+msgid=1s32;time;+reply;account=x" #endif ":nick!user@host QUIT arg1 :Finished!"; IRC_Message parseout; int res = 0; if ((res = Tok_mesg(mesg, &parseout)) <= 0) { printf("String could not be tokenized. %i\n", res); return EXIT_FAILURE; } return EXIT_SUCCESS; }