VxWorks API Reference : OS Libraries
distNameShow - distributed name database show routines (VxFusion option)
distNameShow( ) - display the entire distributed name database (VxFusion option)
distNameFilterShow( ) - display the distributed name database filtered by type (VxFusion option)
This library provides routines for displaying the contents of the distributed name database.
This module is distributed as a component of the unbundled distributed message queues option, VxFusion.
distNameLib.h
distNameShow( ) - display the entire distributed name database (VxFusion option)
void distNameShow (void)
This routine displays the entire contents of the distributed name database. The data displayed includes the symbolic ASCII name, the type, and the value. If the type is not pre-defined, it is printed in decimal and the value shown in a hexdump.
Option VX_FP_TASK should be set when spawning any task in which distNameShow( ) is called unless it is certain that no floating point values will be in the database. The target shell has this option set.
-> distNameShow() NAME TYPE VALUE -------------------- -------------- ------------------------- nile T_DIST_NODE 0x930b2617 (2466981399) columbia T_DIST_NODE 0x930b2616 (2466981398) dmq-01 T_DIST_MSG_Q 0x3ff9fb dmq-02 T_DIST_MSG_Q 0x3ff98b dmq-03 T_DIST_MSG_Q 0x3ff94b dmq-04 T_DIST_MSG_Q 0x3ff8db dmq-05 T_DIST_MSG_Q 0x3ff89b gData 4096 0x48 0x65 0x6c 0x6c 0x6f 0x00 gCount T_DIST_UINT32 0x2d (45) grp1 T_DIST_MSG_Q 0x3ff9bb grp2 T_DIST_MSG_Q 0x3ff90b value = 0 = 0x0
This routine is distributed as a component of the unbundled distributed message queues option, VxFusion.
N/A
distNameFilterShow( ) - display the distributed name database filtered by type (VxFusion option)
void distNameFilterShow ( DIST_NAME_TYPE type /* type to filter the database by */ )
This routine displays the contents of the distributed name database filtered by type. The data displayed includes the symbolic ASCII name, the type, and the value. If the type is not pre-defined, it is printed in decimal and the value shown in a hexdump.
Option VX_FP_TASK should be set when spawning any task in which distNameFilterShow( ) is called unless it is certain that no floating point values will be displayed. The target shell has this option set.
-> distNameFilterShow(0) NAME TYPE VALUE -------------------- -------------- ------------------------- dmq-01 T_DIST_MSG_Q 0x3ff9fb dmq-02 T_DIST_MSG_Q 0x3ff98b dmq-03 T_DIST_MSG_Q 0x3ff94b dmq-04 T_DIST_MSG_Q 0x3ff8db dmq-05 T_DIST_MSG_Q 0x3ff89b grp1 T_DIST_MSG_Q 0x3ff9bb grp2 T_DIST_MSG_Q 0x3ff90b value = 0 = 0x0
This routine is distributed as a component of the unbundled distributed message queues option, VxFusion.
N/A