* ctdlsalearn: experimental program to submit contents of spam and ham rooms into...
[citadel.git] / ctdlsalearn / src / ctdlsalearn.h
1 /*
2  * This is a small subset of 'struct config' ... don't worry about the rest; we
3  * only need to snarf the c_ipgm_secret.
4  */
5 struct partial_config {
6         char c_nodename[16];            /* Unqualified "short" nodename     */
7         char c_fqdn[64];                /* Fully Qualified Domain Name      */
8         char c_humannode[21];           /* Long name of system              */
9         char c_phonenum[16];            /* Dialup number of system          */
10         uid_t c_ctdluid;                /* UID under which we run Citadel   */
11         char c_creataide;               /* room creator = room aide  flag   */
12         int c_sleeping;                 /* watchdog timer setting           */
13         char c_initax;                  /* initial access level             */
14         char c_regiscall;               /* call number to register on       */
15         char c_twitdetect;              /* twit detect flag                 */
16         char c_twitroom[128];           /* twit detect msg move to room     */
17         char c_moreprompt[80];          /* paginator prompt                 */
18         char c_restrict;                /* restrict Internet mail flag      */
19         long c_niu_1;                   /* (not in use)                     */
20         char c_site_location[32];       /* physical location of server      */
21         char c_sysadm[26];              /* name of system administrator     */
22         char c_niu_2[15];               /* (not in use)                     */
23         int c_setup_level;              /* what rev level we've setup to    */
24         int c_maxsessions;              /* maximum concurrent sessions      */
25         char c_ip_addr[20];             /* IP address to listen on          */
26         int c_port_number;              /* Cit listener port (usually 504)  */
27         int c_ipgm_secret;              /* Internal program authentication  */
28 };