V7/usr/include/dk.h
/*
* switch commands
*/
#define RAM_ON 0226
#define ROM_ON 0322
#define R_CNTL 0264
#define W_CNTL 0170
/*
* library routine declarations
*/
extern long cmread();
extern long ocmread();
/*
* call setup struct
*/
struct dialout {
char srv;
char area;
char sw;
char mch;
char chan;
char other;
short check;
};
struct indial {
char i_lchan;
char i_rhost;
char i_rchan;
char i_srv;
char i_area;
char i_sw;
char i_mch;
char i_chan;
char i_other;
short i_check;
};
#define D_SH 1
#define D_FS 2
#define D_LSTNR 3
struct ring {
char r_lchan;
char r_srv;
};