Reference Guide
ZCOM C I/F Library Routines
ZQSZE (3X)
Chapter 4 293
PAR AMETER S
za
p
ZCOM address
zqhdp (Return param)
ZCOM queue header data structure. This structure has the
following definition:
typedef struct {
uint32 qnmsg; /* Number of msgs on queue */
uint32 qlimit; /* Max # of msgs allowed on queue */
zbhd_type *qhead; /* Pointer to 1st msg on queue */
zbhd_type *qtail; /* Pointer to last msg on queue */
uint32 qmmax; /* Historical max # of msgs on queue */
uint32 qtmsg; /* Total # of msgs through queue */
uint32 qbytes; /* Number of bytes on queue */
uint16 qwaiter; /* Number of waiters on this queue */
uint16 qflag; /* Queue flags */
uint32 qfdata; /* Queue function data */
uint32 spare1; /* Reserved, not used */
void (*qfunc)(); /* Queue function to call */
} zqhd_type;
Note that in 32-bit mode, 32-bit padding fields are inserted before
the pointer fields. These are to maintain the same layout in both
32/64-bit modes. Such padding fields are not shown here and also
should not be referenced directly.