UDI_GCB(3udi)


Convert any control block to generic udi_cb_t

SYNOPSIS

#include <udi.h>

#define UDI_GCB(mcb) (&(mcb)->gcb)
 

ARGUMENTS mcb is a pointer to the control block reference to be converted.

DESCRIPTION This macro is used to convert any UDI control block pointer into its generic control block representation (udi_cb_t *) suitable for use with a UDI service request. The original control block is not copied or re-allocated.

This macro is provided for convenience only. Its use is highly recommended but not required.

REFERENCES udi_cb_t


UDI Core Specification Contents