X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcitserver.h;h=63d8708e216fdae39709a299bbe36dd9b9bc78a2;hb=4eb74b26380dfde31c86c685f0589e0c653aebf0;hp=ac55073bfa46276e3e1ebb96e761b1159bae7758;hpb=41e6cd66cdd5ba613a9f6f8f76076a95dcb0e184;p=citadel.git diff --git a/citadel/citserver.h b/citadel/citserver.h index ac55073bf..63d8708e2 100644 --- a/citadel/citserver.h +++ b/citadel/citserver.h @@ -1,43 +1,49 @@ -/* $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 "dynloader.h" +#include "serv_extensions.h" -/* Simple linked list structure ... used in a bunch of different places. */ +/* Simple linked list structures ... used in a bunch of different places. */ struct RoomProcList { struct RoomProcList *next; char name[ROOMNAMELEN]; }; +struct UserProcList { + struct UserProcList *next; + 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 DLEXP int do_defrag; +extern int panic_fd; char CtdlCheckExpress(void); int CtdlAccessCheck(int); @@ -55,3 +61,4 @@ enum { extern time_t server_startup_time; +