X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcitserver.h;h=63d8708e216fdae39709a299bbe36dd9b9bc78a2;hb=4eb74b26380dfde31c86c685f0589e0c653aebf0;hp=fc8d014959f8f1c4eb9b711e4a59a0438ae63401;hpb=3c7bc53bb9f9fab6899206539bba8f794509f37b;p=citadel.git diff --git a/citadel/citserver.h b/citadel/citserver.h index fc8d01495..63d8708e2 100644 --- a/citadel/citserver.h +++ b/citadel/citserver.h @@ -1,4 +1,21 @@ -/* $Id$ */ +/* $Id$ + * + * Copyright (c) 1987-2009 by the citadel.org team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #include "serv_extensions.h" @@ -12,36 +29,21 @@ struct UserProcList { char user[64]; }; +void cit_backtrace(void); +void cit_panic_backtrace(int SigNum); void master_startup (void); -void master_cleanup (void); +void master_cleanup (int exitcode); void RemoveContext (struct CitContext *); void set_wtmpsupp (char *newtext); void set_wtmpsupp_to_current_room(void); -void cmd_info (void); -void cmd_time (void); -int is_public_client (char *where); -void cmd_iden (char *argbuf); -void cmd_mesg (char *mname); -void cmd_emsg (char *mname); -void cmd_term (char *cmdbuf); -void cmd_more (void); -void cmd_echo (char *etext); -void cmd_ipgm (char *argbuf); -void cmd_down (void); -void cmd_scdn (char *argbuf); -void cmd_extn (char *argbuf); -void deallocate_user_data(struct CitContext *con); -void *CtdlGetUserData(unsigned long requested_sym); -void CtdlAllocUserData(unsigned long requested_sym, size_t num_bytes); -void CtdlReallocUserData(unsigned long requested_sym, size_t num_bytes); -int CtdlGetDynamicSymbol(void); void do_command_loop(void); +void do_async_loop(void); void begin_session(struct CitContext *con); void citproto_begin_session(void); void GenerateRoomDisplay(char *real_room, struct CitContext *viewed, struct CitContext *viewer); -extern int do_defrag; +extern int panic_fd; char CtdlCheckExpress(void); int CtdlAccessCheck(int); @@ -59,3 +61,4 @@ enum { extern time_t server_startup_time; +