summaryrefslogtreecommitdiff
path: root/src/captcha.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/captcha.hpp')
-rw-r--r--src/captcha.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/captcha.hpp b/src/captcha.hpp
new file mode 100644
index 0000000..486522e
--- /dev/null
+++ b/src/captcha.hpp
@@ -0,0 +1,13 @@
+#ifndef CAPTCHA_HPP
+#define CAPTCHA_HPP
+
+#include <string>
+
+struct captcha {
+ std::string text; // the text the user has to guess
+ std::string base64; // the GIF in BASE64 encoding
+};
+
+captcha generateCaptcha( );
+
+#endif