summaryrefslogtreecommitdiffstats
path: root/bank.h
diff options
context:
space:
mode:
Diffstat (limited to 'bank.h')
-rw-r--r--bank.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/bank.h b/bank.h
new file mode 100644
index 00000000..be331a1d
--- /dev/null
+++ b/bank.h
@@ -0,0 +1,19 @@
+#include "../include/bbs.h"
+
+#define PORT 2003
+
+#ifdef STRLEN
+ #undef STRLEN
+#endif
+#define STRLEN 128
+
+#define ERROR 0x1
+#define SUCCESS 0x2
+#define TIMEOUT 0x4
+
+typedef int response;
+
+typedef struct request{
+ int money;
+ char userid[IDLEN];
+}request;