X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcitserver.h;h=5e7dfa31c67a524dabea30fc58fc1896e9023c1a;hb=c750a06a241dc2737fa68c24b340a1bd82894f74;hp=37028a7496e6b6dbd2cab569c78c9aceb4fc47d0;hpb=d2ad0f3fb9966e14acc36f9e89f48f581fb4add7;p=citadel.git diff --git a/citadel/citserver.h b/citadel/citserver.h index 37028a749..5e7dfa31c 100644 --- a/citadel/citserver.h +++ b/citadel/citserver.h @@ -1,15 +1,18 @@ /* - * Copyright (c) 1987-2012 by the citadel.org team + * Copyright (c) 1987-2018 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 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. + * 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" + #include "serv_extensions.h" #include "context.h" #include "ctdl_module.h" @@ -18,7 +21,6 @@ typedef struct RoomProcList RoomProcList; struct RoomProcList { struct RoomProcList *next; - OneRoomNetCfg *OneRNCfg; char name[ROOMNAMELEN]; char lcname[ROOMNAMELEN]; long namelen; @@ -33,11 +35,8 @@ struct UserProcList { #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); -void master_cleanup (int exitcode); +int master_cleanup (int exitcode); void set_wtmpsupp (char *newtext); void set_wtmpsupp_to_current_room(void); void do_command_loop(void); @@ -45,13 +44,11 @@ void do_async_loop(void); void begin_session(struct CitContext *con); void citproto_begin_session(void); void citproto_begin_admin_session(void); -void GenerateRoomDisplay(char *real_room, - CitContext *viewed, - CitContext *viewer); void help_subst (char *strbuf, char *source, char *dest); extern int panic_fd; char CtdlCheckExpress(void); +int CtdlIsPublicClient(void); extern time_t server_startup_time; extern int openid_level_supported;