17 lines
382 B
C
17 lines
382 B
C
#include "../include/uirc.h"
|
|
#include "stdio.h"
|
|
#include "stdlib.h"
|
|
#include "string.h"
|
|
|
|
int main(void)
|
|
{
|
|
char mesg[513] = "@+msgid=1s32;time;+reply;account=x :nick!user@host QUIT :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;
|
|
}
|