Version 0.25: EMSI-II compliance (FTS-0088), send TZUTC, protocol order

This commit is contained in:
zx
2024-05-25 23:29:12 +03:00
parent 2c58629de4
commit 8fff29b28a
16 changed files with 281 additions and 63 deletions
+1
View File
@@ -182,6 +182,7 @@ typedef struct {
extern const char *BFERR[];
extern char * mainenv[];
extern long timezone;
int daemon_run(const char *confname, const char *incname, bool quit);
+3
View File
@@ -179,6 +179,8 @@ typedef enum {
cf_emsi_FR_time,
cf_emsi_OH_time,
cf_emsi_slave_sends_nak,
cf_emsi_send_tz,
cf_emsi_send_time,
cf_filebox,
cf_filebox_directory,
cf_flags,
@@ -235,6 +237,7 @@ typedef enum {
cf_nodial_flag,
cf_override,
cf_options,
cf_proto_order,
cf_outbound_directory,
cf_password,
cf_phone,
+4 -4
View File
@@ -102,12 +102,12 @@
#endif
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#include <sys/time.h>
#include <time.h>
#elif HAVE_SYS_TIME
# include <sys/time.h>
#include <sys/time.h>
#else
# include <time.h>
#include <time.h>
#endif
#ifdef HAVE_UNISTD_H
+5 -1
View File
@@ -116,7 +116,10 @@ struct compcodes
ZAP:1, /* ZedZap (Zmodem variant) */
DZA:1, /* DirectZAP (Zmodem variant) */
JAN:1, /* Janus */
HYD:1; /* Hydra */
HYD:1, /* Hydra */
KER:1, /* Kermit (Only EMSI-I) NO SUPPORT */
SLK:1, /* SEALink - NO SUPPORT */
TZA:1; /* TrapDoor DirectZAP - NO SUPPORT */
UINT16 FRQ:1, /* The system will accept and process FREQs */
NRQ:1, /* No file requests accepted by this system */
@@ -148,6 +151,7 @@ struct emsi
char passwd[EMSI_MAXPASSWD+1];
s_linkcodes linkcodes; /* XXn linkcodes contained in eaddr */
s_compcodes compcodes;
char proto_order[EMSI_MAXADDONS+1];
char m_pid[EMSI_MAXMPID+1];
char m_name[EMSI_MAXMNAME+1];
char m_ver[EMSI_MAXMVER+1];