From 549beeb7df4ef039c2652a57187fda3641e4eab5 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 11 Feb 2023 18:42:59 -0500 Subject: [PATCH] Moved from citadel.h to server.h --- citadel/server/citadel.h | 10 ---------- citadel/server/server.h | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/citadel/server/citadel.h b/citadel/server/citadel.h index b96435c9e..84e5b837e 100644 --- a/citadel/server/citadel.h +++ b/citadel/server/citadel.h @@ -72,16 +72,6 @@ struct ExpirePolicy { #define MES_ANONONLY 66 // "****" header #define MES_ANONOPT 67 // "Anonymous" header -// 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 - // Values used internally for function call returns, etc. #define NEWREGISTER 0 // new user to register #define REREGISTER 1 // existing user reregistering diff --git a/citadel/server/server.h b/citadel/server/server.h index 64797f80f..12616070d 100644 --- a/citadel/server/server.h +++ b/citadel/server/server.h @@ -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 -- 2.39.2