/*
* Main declarations file for the Citadel server
*
- * Copyright (c) 1987-2018 by the citadel.org team
+ * Copyright (c) 1987-2020 by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3.
S_HOUSEKEEPING,
S_DIRECTORY,
S_NETCONFIGS,
- S_PUBLIC_CLIENTS,
S_FLOORCACHE,
S_ATBF,
S_JOURNAL_QUEUE,
};
-/*
- * Upload types
- */
-#define UPL_FILE 0
-#define UPL_NET 1
-#define UPL_IMAGE 2
-
-
/*
* message transfer formats
*/
* These are kept separate from the message itself for one of two reasons:
* 1. Either their values may change at some point after initial save, or
* 2. They are merely caches of data which exist somewhere else, for speed.
+ * DO NOT PUT BIG DATA IN HERE ... we need this struct to be tiny for lots of quick r/w
*/
struct MetaData {
long meta_msgnum; /* Message number in *local* message base */
typedef enum _MsgField {
eAuthor = 'A',
eBig_message = 'B',
- eRemoteRoom = 'C',
- eDestination = 'D',
eExclusiveID = 'E',
erFc822Addr = 'F',
- eHumanNode = 'H',
emessageId = 'I',
eJournal = 'J',
eReplyTo = 'K',
eListID = 'L',
eMesageText = 'M',
- eNodeName = 'N',
eOriginalRoom = 'O',
eMessagePath = 'P',
eRecipient = 'R',
- eSpecialField = 'S',
eTimestamp = 'T',
eMsgSubject = 'U',
eenVelopeTo = 'V',