Used by the x25_receive and x25_call_clear subroutines to pass the contents of a received packet to an application.
struct cb_msg_struct
{
int msg_type;
union
{
struct cb_call_struct *cb_call;
struct cb_data_struct *cb_data;
struct cb_clear_struct *cb_clear;
struct cb_res_struct *cb_res;
struct cb_int_struct *int_data;
} msg_point;
};
Item | Description |
---|---|
msg_type | Type of message being returned, as follows:
|
cb_call | Pointer to the call structure, cb_call_struct. |
cb_data | Pointer to the data structure, cb_data_struct. |
cb_clear | Pointer to the clear structure, cb_clear_struct. |
cb_res | Pointer to the reset structure, cb_res_struct. |
int_data | Pointer to the interrupt data structure, cb_int_data_struct. |