00001 #ifndef dtndef_h 00002 #define dtndef_h 00003 00004 #define DTN_K_BASE_LENGTH 24 00005 #define DTN_K_LENGTH 52 00006 #define DTN_K_NAMELEN_MAX 27 00007 00008 struct _dtn { 00009 struct _dtn *dtn_ps_flink; 00010 struct _dtn *dtn_ps_blink; 00011 unsigned short int dtn_w_size; 00012 unsigned char dtn_b_type; 00013 unsigned char dtn_b_subtype; 00014 unsigned int dtn_l_flags; 00015 unsigned char dtn_b_devtype; 00016 unsigned char dtn_b_devclass; 00017 short int dtn_w_spare1; 00018 struct _ucb *dtn_ps_ucblist; 00019 union { 00020 char dtn_t_dtname [28]; 00021 struct { 00022 unsigned char dtn_ib_dtname_len; 00023 char dtn_t_dtname_str [27]; 00024 }; 00025 }; 00026 }; 00027 00028 #endif 00029 00030