]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/server.h
Moved from citadel.h to server.h
[citadel.git] / citadel / server / server.h
index 64797f80f3ab7aae1b23625e7eb67f04a1519560..12616070d67e0b4a390fd02a63e5a616a9b8c440 100644 (file)
@@ -344,5 +344,15 @@ struct ctdlroom {
 // flagged with both QR_PRIVATE and QR_PASSWORDED while guess-name rooms are
 // flagged with both QR_PRIVATE and QR_GUESSNAME.  NEVER set all three flags.
 
+// Floor record.  The floor number is implicit in its location in the file.
+struct floor {
+       unsigned short f_flags;         // flags
+       char f_name[256];               // name of floor
+       int f_ref_count;                // reference count
+       struct ExpirePolicy f_ep;       // default expiration policy
+};
+
+#define F_INUSE                1               // floor is in use
+
 
 #endif // SERVER_H