6e323657c7d5816a2ecf5fddd5f6ed64774bfd47
[citadel.git] / citadel / textclient / rooms.h
1 /* $Id$ */
2 void listzrooms(CtdlIPC *ipc);
3 void readinfo(CtdlIPC *ipc);
4 void forget(CtdlIPC *ipc);
5 void entroom(CtdlIPC *ipc);
6 void killroom(CtdlIPC *ipc);
7 void invite(CtdlIPC *ipc);
8 void kickout(CtdlIPC *ipc);
9 void editthisroom(CtdlIPC *ipc);
10 void roomdir(CtdlIPC *ipc);
11 void download(CtdlIPC *ipc, int proto);
12 void ungoto(CtdlIPC *ipc);
13 void dotungoto(CtdlIPC *ipc, char *towhere);
14 void whoknows(CtdlIPC *ipc);
15 void enterinfo(CtdlIPC *ipc);
16 void knrooms(CtdlIPC *ipc, int kn_floor_mode);
17 void dotknown(CtdlIPC *ipc, int what, char *match);
18 void load_floorlist(CtdlIPC *ipc);
19 void create_floor(CtdlIPC *ipc);
20 void edit_floor(CtdlIPC *ipc);
21 void kill_floor(CtdlIPC *ipc);
22 void enter_bio(CtdlIPC *ipc);
23 void hit_any_key(CtdlIPC *ipc);
24 int save_buffer(void *file, size_t filelen, const char *pathname);
25 void destination_directory(char *dest, const char *supplied_filename);
26 void do_edit(CtdlIPC *ipc,
27                 char *desc, char *read_cmd, char *check_cmd, char *write_cmd);
28
29
30
31 /* 
32  * This struct holds a list of rooms for client display.
33  * (oooh, a tree!)
34  */
35 struct ctdlroomlisting {
36         struct ctdlroomlisting *lnext;
37         struct ctdlroomlisting *rnext;
38         char rlname[ROOMNAMELEN];
39         unsigned rlflags;
40         int rlfloor;
41         int rlorder;
42         };
43
44
45 enum {
46         LISTRMS_NEW_ONLY,
47         LISTRMS_OLD_ONLY,
48         LISTRMS_ALL
49 };
50
51