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