Preprocessor macro definitions for the status.h header file in the libhnm library.
#define EXTERN extern
#define STATUS_PPS_OBJECT_ID 0x0Definition of the PPS object ID used by the Status object.
#define hnm_Status_Narrow ( obj && obj->type == STATUS_PPS_OBJECT_ID ) ? ( hnm_Status* )obj : NULLNarrow a pps_Object to an hnm_Status structure whenever possible.
#define HNM_PPS_STATUS_OBJECT_PATH "Status"Path to the PPS Status object.
#define HNM_PPS_STATUS_INITIALIZE { \
.type = STATUS_PPS_OBJECT_ID, \
.fd = -1, \
.path = HNM_PPS_STATUS_OBJECT_PATH, \
.pollfd = NULL, \
.object_data = NULL, \
.pps_handler = hnm_Status_ppsHandler, \
.pps_update = hnm_Status_update, \
.displayList = hnm_Status_displayList, \
.getDisplayList = hnm_Status_getDisplayList, \
.findDisplayEvent = hnm_Status_findDisplayEvent, \
}
HNM_PPS_STATUS_INITIALIZE defines the static initializer for the Status PPS object. This initializes a static declaration of an hnm_Status object, allowing applications that use the Status object to assign custom type IDs that are unique to the application scope.