After initializing the necessary event fields, your application may publish an event within a transaction by calling the
awTxPublishEvent function. The following example contains an excerpt that shows the use of the
awTxPublishEvent function to publish a single event within a transaction:
. . .
err = awTxPublishEvent(txclient,e);
if (!verifyNoError(__FILE__,"awTxPublishEvent",__LINE__,err)) {
return 0;
}
. . .