aboutsummaryrefslogtreecommitdiff
path: root/site.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-19 14:46:47 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-19 14:46:47 +0200
commit53569c91e4ebdbba96e6286f846dead1d427e6e2 (patch)
tree70d9e65a3e175d034349dbfb17e1044b752a1334 /site.h
parent3f2a9bc6638dbe09bd8c70fdac068555659e58ac (diff)
downloadcforum-53569c91e4ebdbba96e6286f846dead1d427e6e2.tar.gz
Use single header file
There are drawbacks with this approach, but the benefit -- for a small-ish project -- is that the single header file can serve as a very good overview and guide for people exploring the code for the first time.
Diffstat (limited to 'site.h')
-rw-r--r--site.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/site.h b/site.h
deleted file mode 100644
index 8c70a64..0000000
--- a/site.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Maximum allowed Content-Length for various forms. */
-#define MAXATTDATA 4096
-#define MAXUSERDATA 512
-#define MAXPOSTDATA 4096
-
-/* Maximum size of user information, incl. NUL. */
-#define MAXUSERNAME 40
-#define MAXUSERFULL 128
-#define MAXUSERPASS 128
-
-struct site{
- char *name;
-} site; \ No newline at end of file