aboutsummaryrefslogtreecommitdiff
path: root/cforum.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-20 22:07:51 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-20 22:07:51 +0200
commit3ea978c60ee03dba2cb883ba18d3b334cfbf6cd0 (patch)
tree6a3de0d664f261f7ae1ab57d35e7d2f37acc673b /cforum.h
parentfd9e2f7245212f2b652652f4669648260e59f9e9 (diff)
downloadcforum-3ea978c60ee03dba2cb883ba18d3b334cfbf6cd0.tar.gz
Implement login
Diffstat (limited to 'cforum.h')
-rw-r--r--cforum.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cforum.h b/cforum.h
index a7572e2..7d7dc60 100644
--- a/cforum.h
+++ b/cforum.h
@@ -49,9 +49,9 @@ struct site{
/***** Functions *****/
/* ctl.c */
-void login(void);
void newatt(void);
void newpost(void);
+void newsession(void);
void newuser(void);
void showatt(int);
void showfront(void);
@@ -86,8 +86,9 @@ int urldecode(char *, int);
/* Maximum allowed Content-Length for various forms. */
#define MAXATTDATA 4096
-#define MAXUSERDATA 512
#define MAXPOSTDATA 4096
+#define MAXSESSIONDATA 512
+#define MAXUSERDATA 512
/* Maximum size of user information, incl. NUL. */
#define MAXUSERNAME 40