[  Previous  |
Next  |
Contents  |
Glossary  |
Home  |
Search  ]
AIX Version 4 Files Reference
cb_data_struct Structure for X.25
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
| 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
| flags | Notification to the API that the associated field has been used. | 
| data_len | Length of data. | 
| data | Pointer to actual data. | 
Related Information
The x25sdefs.h file.
The cb_call_struct structure.
[  Previous  |
Next  |
Contents  |
Glossary  |
Home  |
Search  ]