]> code.citadel.org Git - citadel.git/blob - citadel/server/room_ops.h
This is an omnibus commit which moves the Citadel Server from crusty old GNU Autotool...
[citadel.git] / citadel / server / room_ops.h
1 int is_known (struct ctdlroom *roombuf, int roomnum, struct ctdluser *userbuf);
2 int has_newmsgs (struct ctdlroom *roombuf, int roomnum, struct ctdluser *userbuf);
3 int is_zapped (struct ctdlroom *roombuf, int roomnum, struct ctdluser *userbuf);
4 void b_putroom(struct ctdlroom *qrbuf, char *room_name);
5 void b_deleteroom(char *);
6 void lgetfloor (struct floor *flbuf, int floor_num);
7 void lputfloor (struct floor *flbuf, int floor_num);
8 int sort_msglist (long int *listptrs, int oldcount);
9 void list_roomname(struct ctdlroom *qrbuf, int ra, int current_view, int default_view);
10 void convert_room_name_macros(char *towhere, size_t maxlen);
11
12 typedef enum _POST_TYPE{
13         POST_LOGGED_IN,
14         POST_EXTERNAL,
15         CHECK_EXIST,
16         POST_LMTP
17 } PostType;
18
19 int CtdlDoIHavePermissionToPostInThisRoom(char *errmsgbuf, size_t n, PostType PostPublic, int is_reply);
20 int CtdlDoIHavePermissionToDeleteMessagesFromThisRoom(void);
21 int CtdlDoIHavePermissionToReadMessagesInThisRoom(void);