void hdrBlkBuild ( SA_HEADER_T * pHdr, /* header block */ VBL_T * pVblist, /* vblist that was built */ int opt, /* reg_option suggesting reg/dereg */ int group, /* group ID */ PTR_T saId /* ipchandle */ )
This routine is called to start a process that encodes a message and transmits it to the master agent. Internally, this routine first prepares a header block and demuxer information. These are then passed in to a saMsgBuild( ) call, along with a varbind list, and a pointer to the IPC mechanism that the master agent can use to respond to this message. As input, hdrBlkBuild( ) expects: