void saMsgBuild ( VBL_T * pVblist, /* pointer to varbind list */ SA_HEADER_T * pHdr, /* pointer to header block */ SA_DEMUX_T * pDemuxer, /* pointer to demuxer */ PTR_T saId /* IPC handle */ )
The hdrBlkCreate( ) routine calls saMsgBuild( ) to build a message, encode it, and transmit it to the master agent. The message is built up from the information provided in the input parameters:
To encode the message, this routine calls snmpSubEncode( ). To send the message to the master agent, this routine calls saIoWrite( ).