Transformer SDK For C  6.2.10.308615
Publishing Record Data

Fields may be added to record data objects using the field name as opposed to the field identifier number.

See also
Data Object Flags
Creating Data Objects

Create a record update, send to subscribed peers and store the record in the cache.

ds_data_t *dsdata;
dsdata = ds_init_data("/RECORD", DS_RECORD_TYPE, F_CREATEPARENT|F_CREATEOBJECT);
ds_add_record_str(dsdata, "Bid", "1.3");
ds_add_record_str(dsdata, "Ask", "1.4");
packet_contrib(dsdata,NULL,PACKET_FREE|PACKET_PUBLISH|PACKET_STORE);

Generated on Sat Feb 25 2017 10:51:23 for Transformer SDK For C