Purpose
 Used by the x25_send and x25_receive subroutines to pass data control
information.
 
Syntax
 #define X25FLG_D_BIT 0x00000001
#define X25FLG_Q_BIT 0x00000002
#define X25FLG_M_BIT 0x00000004
#define X25FLG_DATA  0x00000008
struct cb_data_struct
{
  unsigned long flags;
  int data_len;
  unsigned char *data;
} ;
 
Flags
  | Item | 
Description | 
| X25FLG_D_BIT | 
  If the D-bit has been set in the call packet, and the value
is not zero, the remote data terminal equipment (DTE) must acknowledge
the packet. | 
| X25FLG_Q_BIT | 
  Sets the Q-bit in the packet. A nonzero value is converted
to a single 1-bit in the packet. | 
| X25FLG_M_BIT | 
  Sets the M-bit in the packet. A nonzero value is converted
to a single 1-bit in the packet. | 
| X25_FLG_DATA | 
  Indicates that the data field is used. | 
 
 
 
Fields
  | Item | 
Description | 
| flags | 
  Notification to the API that the associated field has been
used. | 
| data_len | 
  Length of data. | 
| data | 
  Pointer to actual data. |