diff options
author | Max Christian Pohle | 2015-10-12 04:15:25 +0200 |
---|---|---|
committer | Max Christian Pohle | 2015-10-12 04:15:25 +0200 |
commit | a66a946b86ff701e30b796c73367c791d21f9209 (patch) | |
tree | cf75cba357d36397bcc823bb4304bdea9b9ce805 /captcha.h | |
download | libcaptcha-a66a946b86ff701e30b796c73367c791d21f9209.tar.bz2 libcaptcha-a66a946b86ff701e30b796c73367c791d21f9209.zip |
version depends on gd and creates a traditional captcha
Diffstat (limited to 'captcha.h')
-rw-r--r-- | captcha.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/captcha.h b/captcha.h new file mode 100644 index 0000000..2aa6475 --- /dev/null +++ b/captcha.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef CAPTCHA_H | ||
2 | #define CAPTCHA_H | ||
3 | |||
4 | #include <stdio.h> | ||
5 | #include <stdlib.h> | ||
6 | #include <err.h> | ||
7 | |||
8 | #include <time.h> // used for rand() | ||
9 | #include <string.h> | ||
10 | |||
11 | #include "gd.h" | ||
12 | #include "../file_reader/file_reader.h" | ||
13 | |||
14 | |||
15 | int captcha_print(char* text); | ||
16 | |||
17 | #endif | ||