#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 6.27"
+#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 627 /* This version */
+#define REV_LEVEL 645 /* This version */
#define REV_MIN 591 /* Oldest compatible database */
#define EXPORT_REV_MIN 626 /* Oldest compatible export files */
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 */
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 */