summaryrefslogtreecommitdiff
path: root/3rdParty/captcha/test.c
blob: e46308c343b01f8995c21eca999cae05c15cb625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const int gifsize;
void captcha(unsigned char im[70*200], unsigned char l[6]);
void makegif(unsigned char im[70*200], unsigned char gif[gifsize]);

int main() {
        char l[6];
        unsigned char im[70*200];
        unsigned char gif[gifsize];

        captcha(im,l);
        makegif(im,gif);

        write(1,gif,gifsize);
        write(2,l,5);

        return 0;
}