[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4 Files Reference

ctr_array_struct Structure for X.25

Purpose

Used by the x25_ctr_wait subroutine to pass the counter identifier and a value to be exceeded.

Syntax

#define X25FLG_CTR_ID     0x00000001
#define X25FLG_CTR_VALUE  0x00000002
struct ctr_array_struct
{
  unsigned long flags;
  int ctr_id;
  int ctr_value;
} ;

Flags

X25_FLG_CTR_ID Indicates that the ctr_id field is used.
X25_FLG_CTR_VALUE Indicates that the ctr_value field is used.

Fields

flags Notification to the API that the associated field has been used.
ctr_id Counter identifier.
ctr_value Value to be exceeded by the counter specified by the counter identifier. The counter is incremented each time a message for the associated call or PVC arrives. When the number of messages exceeds the value, the x25_ctr_wait subroutine returns control to the calling program.

Related Information

The x25sdefs.h file.


[ Previous | Next | Contents | Glossary | Home | Search ]