summaryrefslogtreecommitdiffstats
path: root/captcha.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2014-12-09 10:31:37 +0900
committerFreeArtMan <dos21h@gmail.com>2014-12-09 10:31:37 +0900
commita57c6bed8f6ab7d0f4355190c0cff7cd913da6a0 (patch)
treec8b85b9de364cb63678d05625bdff6a2cf12ecda /captcha.h
parentdc4bbe5366d6c733f9f77b7c9fee0cbba3e0d92b (diff)
downloadmicrobbs-a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0.tar.gz
microbbs-a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0.zip
New planned functionality. Menuconfig support. Simple captcha.
Diffstat (limited to 'captcha.h')
-rw-r--r--captcha.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/captcha.h b/captcha.h
new file mode 100644
index 0000000..d294955
--- /dev/null
+++ b/captcha.h
@@ -0,0 +1,18 @@
+#ifndef __MICROBBS_CAPTCHA_H
+#define __MICROBBS_CAPTCHA_H
+
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "kconfig.h"
+
+//ask question if you are bot or no. In 99% cases should protect from random
+//bots.
+// Return:
+// 0 - test not passed
+// 1 - test passed
+int captcha_test1();
+
+
+
+#endif \ No newline at end of file