]> code.citadel.org Git - citadel.git/blobdiff - citadel/citserver.h
misc cleanup
[citadel.git] / citadel / citserver.h
index cce5c51a232f6f9f31bf22869f0ce57e765bfb74..effe9557a155a91de096b69c4dc754889f46e0b0 100644 (file)
@@ -1,14 +1,12 @@
-/*
- * Copyright (c) 1987-2015 by the citadel.org team
- *
- * This program is open source software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// Copyright (c) 1987-2019 by the citadel.org team
+//
+// This program is open source software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 3.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
 
 /* I fucking hate const and want it to die. */
 #pragma GCC diagnostic ignored "-Wcast-qual"
@@ -30,14 +28,11 @@ struct RoomProcList {
 };
 struct UserProcList {
        struct UserProcList *next;
-       char user[64];
+       char user[USERNAME_SIZE];
 };
 
 #define CTDLUSERIP      (IsEmptyStr(CC->cs_addr) ?  CC->cs_clientinfo: CC->cs_addr)
 
-void cit_backtrace(void);
-void cit_oneline_backtrace(void);
-void cit_panic_backtrace(int SigNum);
 void master_startup (void);
 int master_cleanup (int exitcode);
 void set_wtmpsupp (char *newtext);
@@ -47,11 +42,9 @@ void do_async_loop(void);
 void begin_session(struct CitContext *con);
 void citproto_begin_session(void);
 void citproto_begin_admin_session(void);
-
 void help_subst (char *strbuf, char *source, char *dest);
+char CtdlCheckExpress(void);
 
 extern int panic_fd;
-char CtdlCheckExpress(void);
-int CtdlIsPublicClient(void);
 extern time_t server_startup_time;
 extern int openid_level_supported;