getmx() now uses our array class
[citadel.git] / citadel / room_ops.h
index 880ff8219c4d30a85e4457f7b00b17d257e8be3d..20a8436541e6b2a752466ad86126cd0a1b02a145 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id$ */
 int is_known (struct ctdlroom *roombuf, int roomnum,
              struct ctdluser *userbuf);
 int has_newmsgs (struct ctdlroom *roombuf, int roomnum,
@@ -15,3 +14,18 @@ void list_roomname(struct ctdlroom *qrbuf, int ra, int current_view, int default
 void convert_room_name_macros(char *towhere, size_t maxlen);
 
 
+typedef enum _POST_TYPE{
+       POST_LOGGED_IN,
+       POST_EXTERNAL,
+       CHECK_EXISTANCE,
+       POST_LMTP
+}PostType;
+
+int CtdlDoIHavePermissionToPostInThisRoom(char *errmsgbuf, 
+       size_t n, 
+       const char* RemoteIdentifier,
+       PostType PostPublic,
+       int is_reply
+);
+int CtdlDoIHavePermissionToDeleteMessagesFromThisRoom(void);
+int CtdlDoIHavePermissionToReadMessagesInThisRoom(void);