Back to index

citadel  8.12
rooms.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 1987-2012 by the citadel.org team
00003  *
00004  *  This program is open source software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License version 3.
00006  *
00007  *  This program is distributed in the hope that it will be useful,
00008  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00009  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00010  *  GNU General Public License for more details.
00011  */
00012 
00013 void listzrooms(CtdlIPC *ipc);
00014 void readinfo(CtdlIPC *ipc);
00015 void forget(CtdlIPC *ipc);
00016 void entroom(CtdlIPC *ipc);
00017 void killroom(CtdlIPC *ipc);
00018 void invite(CtdlIPC *ipc);
00019 void kickout(CtdlIPC *ipc);
00020 void editthisroom(CtdlIPC *ipc);
00021 void roomdir(CtdlIPC *ipc);
00022 void download(CtdlIPC *ipc, int proto);
00023 void ungoto(CtdlIPC *ipc);
00024 void dotungoto(CtdlIPC *ipc, char *towhere);
00025 void whoknows(CtdlIPC *ipc);
00026 void enterinfo(CtdlIPC *ipc);
00027 void knrooms(CtdlIPC *ipc, int kn_floor_mode);
00028 void dotknown(CtdlIPC *ipc, int what, char *match);
00029 void load_floorlist(CtdlIPC *ipc);
00030 void create_floor(CtdlIPC *ipc);
00031 void edit_floor(CtdlIPC *ipc);
00032 void kill_floor(CtdlIPC *ipc);
00033 void enter_bio(CtdlIPC *ipc);
00034 int save_buffer(void *file, size_t filelen, const char *pathname);
00035 void destination_directory(char *dest, const char *supplied_filename);
00036 void do_edit(CtdlIPC *ipc,
00037               char *desc, char *read_cmd, char *check_cmd, char *write_cmd);
00038 
00039 
00040 
00041 /* 
00042  * This struct holds a list of rooms for client display.
00043  * (oooh, a tree!)
00044  */
00045 struct ctdlroomlisting {
00046         struct ctdlroomlisting *lnext;
00047        struct ctdlroomlisting *rnext;
00048         char rlname[ROOMNAMELEN];
00049         unsigned rlflags;
00050        int rlfloor;
00051         int rlorder;
00052         };
00053 
00054 
00055 enum {
00056         LISTRMS_NEW_ONLY,
00057         LISTRMS_OLD_ONLY,
00058         LISTRMS_ALL
00059 };
00060 
00061