/*
* $Id$
*
- * main Citadel/UX header file
+ * main Citadel header file
* see copyright.txt for copyright information
*/
#ifndef CITADEL_H
#define CITADEL_H
+/* #include <dmalloc.h> uncomment if using dmalloc */
/* Build Citadel with the calendar service only if the header *and*
* library for libical are both present.
/*
* Text description of this software
*/
-#define CITADEL "Citadel/UX 6.22"
+#define CITADEL "Citadel 6.45"
/*
* REV_LEVEL is the current version number (multiplied by 100 to avoid having
* usually more strict because you're not really supposed to dump/load and
* upgrade at the same time.
*/
-#define REV_LEVEL 622 /* This version */
+#define REV_LEVEL 645 /* This version */
#define REV_MIN 591 /* Oldest compatible database */
-#define EXPORT_REV_MIN 615 /* Oldest compatible export files */
+#define EXPORT_REV_MIN 626 /* Oldest compatible export files */
-#define SERVER_TYPE 0 /* zero for stock Citadel/UX; other developers please
+#define SERVER_TYPE 0 /* zero for stock Citadel; other developers please
obtain SERVER_TYPE codes for your implementations */
/* Various length constants */
char c_fqdn[64]; /* Fully Qualified Domain Name */
char c_humannode[21]; /* Long name of system */
char c_phonenum[16]; /* Dialup number of system */
- uid_t c_bbsuid; /* UID of the bbs-only user */
+ uid_t c_ctdluid; /* UID under which we run Citadel */
char c_creataide; /* room creator = room aide flag */
int c_sleeping; /* watchdog timer setting */
char c_initax; /* initial access level */
char c_moreprompt[80]; /* paginator prompt */
char c_restrict; /* restrict Internet mail flag */
long c_niu_1; /* (not in use) */
- char c_bbs_city[32]; /* physical location of server */
+ char c_site_location[32]; /* physical location of server */
char c_sysadm[26]; /* name of system administrator */
char c_niu_2[15]; /* (not in use) */
int c_setup_level; /* what rev level we've setup to */
int c_maxsessions; /* maximum concurrent sessions */
- char c_niu_3[20]; /* (not in use) */
+ char c_ip_addr[20]; /* IP address to listen on */
int c_port_number; /* Cit listener port (usually 504) */
int c_ipgm_secret; /* Internal program authentication */
struct ExpirePolicy c_ep; /* System default msg expire policy */
char c_ldap_base_dn[256]; /* LDAP base DN */
char c_ldap_bind_dn[256]; /* LDAP bind DN */
char c_ldap_bind_pw[256]; /* LDAP bind password */
+ int c_msa_port; /* SMTP MSA listener port (usu 587) */
+ int c_imaps_port; /* IMAPS listener port (usually 993)*/
+ int c_pop3s_port; /* POP3S listener port (usually 995)*/
+ int c_smtps_port; /* SMTPS listener port (usually 465)*/
};
/*
#define FQDN config.c_fqdn
#define HUMANNODE config.c_humannode
#define PHONENUM config.c_phonenum
-#define BBSUID config.c_bbsuid
+#define CTDLUID config.c_ctdluid
#define CREATAIDE config.c_creataide
#define REGISCALL config.c_regiscall
#define TWITDETECT config.c_twitdetect
struct ctdluser { /* User record */
int version; /* Cit vers. which created this rec */
uid_t uid; /* Associate with a unix account? */
- char password[32]; /* password (for BBS-only users) */
+ char password[32]; /* password (for Citadel-only users)*/
unsigned flags; /* See US_ flags below */
long timescalled; /* Total number of logins */
long posted; /* Number of messages posted (ever) */
#define READ_HEADER 2
#define READ_MSGBODY 3
-/* commands we can send to the sttybbs() routine */
-#define SB_NO_INTR 0 /* set to bbs mode, i/q disabled */
-#define SB_YES_INTR 1 /* set to bbs mode, i/q enabled */
+/* commands we can send to the stty_ctdl() routine */
+#define SB_NO_INTR 0 /* set to Citadel client mode, i/q disabled */
+#define SB_YES_INTR 1 /* set to Citadel client mode, i/q enabled */
#define SB_SAVE 2 /* save settings */
#define SB_RESTORE 3 /* restore settings */
#define SB_LAST 4 /* redo the last command sent */
/*
* Views
*/
-#define VIEW_BBS 0 /* Traditional Citadel BBS view */
+#define VIEW_BBS 0 /* Bulletin board view */
#define VIEW_MAILBOX 1 /* Mailbox summary */
#define VIEW_ADDRESSBOOK 2 /* Address book view */
#define VIEW_CALENDAR 3 /* Calendar view */
#define VIEW_TASKS 4 /* Tasks view */
+#define VIEW_NOTES 5 /* Notes view */
#ifdef __cplusplus
}