/*********************************************************************** * file: modem.h * part#: * internal sequence#: * * ************************************************************** * * " c Copyright Hewlett-Packard Company, 1984.* All * * * rights are reserved. Copying or other reproduction * * * of this program except for archival purposes is * * * prohibited without the prior written consent of * * * Hewlett-Packard Company." * * ************************************************************** * * Pisces Q-DOS project * Fred Taft * ----------------------------------------------------- * initial 8/84 fdt * * Changed NMTIMER from 5 to 6. 8/22/84 fdt * * *********************************************************************/ /* Define the timer ioctl structure */ #define NMTIMER 6 struct mtimer { unsigned short m_timers[NMTIMER]; }; /* Define the typedef used for the MC*ETA ioctl calls */ typedef unsigned long mflag; /* Define the bits within the mflag field */ #define MDRS 00000000004 /* Data Rate Select */ #define MDTR 00000000040 /* Data Terminal Ready */ #define MRTS 00010000000 /* Request To Send */ #define MDSR 00002000000 /* Data Set Ready */ #define MDCD 00000400000 /* Data Carrier Detect */ #define MRI 00000000010 /* Ring Indicator */ #define MCTS 00004000000 /* Clear To Send */ /* Define the Timer fields */ #define MTCONNECT 0 #define MTCARRIER 1 #define MTNOACTIVITY 2 #define MTHANGUP 3