initial message templates support
[claws.git] / libkcc / test_check.c
blobfe7cc1126ce9dbcbdcf058850c46bc29498b4e75
1 #include <stdio.h>
2 main ()
4 FILE *fp;
5 char s[500];
6 int i=0, c;
8 fp=fopen("test_file","r");
9 if (fp == NULL) {printf("not found\n"); exit;}
11 while ((c = fgetc(fp)) != EOF && i<490)
13 s[i] = c; i++;
15 s[i]='\0';
17 printf ("%d bytes ; %x\n",i,KCC_check(s,0));