X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=ctdlsh%2Fsrc%2Fctdlsh.h;fp=ctdlsh%2Fsrc%2Fctdlsh.h;h=48524bebe26ee85fed0738f8c9f4b1700e7821f2;hb=6e8b01b9eed1710891368772d9cd02a41aa88e07;hp=0000000000000000000000000000000000000000;hpb=aad755fcc3337ec16b968d4b088387a893219673;p=citadel.git diff --git a/ctdlsh/src/ctdlsh.h b/ctdlsh/src/ctdlsh.h new file mode 100644 index 000000000..48524bebe --- /dev/null +++ b/ctdlsh/src/ctdlsh.h @@ -0,0 +1,28 @@ +/* + * This is a small subset of 'struct config' ... don't worry about the rest; we + * only need to snarf the c_ipgm_secret. + */ +struct partial_config { + char c_nodename[16]; /* Unqualified "short" nodename */ + 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_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_regiscall; /* call number to register on */ + char c_twitdetect; /* twit detect flag */ + char c_twitroom[128]; /* twit detect msg move to room */ + char c_moreprompt[80]; /* paginator prompt */ + char c_restrict; /* restrict Internet mail flag */ + long c_niu_1; /* (not in use) */ + 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_ip_addr[20]; /* IP address to listen on */ + int c_port_number; /* Cit listener port (usually 504) */ + int c_ipgm_secret; /* Internal program authentication */ +};