ZeroCM / zcm

Zero Communications and Marshalling
http://zerocm.github.io/zcm/
GNU Lesser General Public License v2.1
240 stars 70 forks source link

Added zcm_query_drops() api to get the drop counter if a transport su… #480

Closed xorvoid closed 8 months ago

xorvoid commented 8 months ago

…pports it

xorvoid commented 8 months ago
 *      int query_drops(zcm_trans_t* zt, uint64_t *out_drops);
 *      --------------------------------------------------------------------
 *         This method provides the caller access to an internal transport drop counter
 *         Implementing this is not required. If unimplemented, it should return ZCM_EUNIMPL.
 *         If implemented, the out-parameter *out_drops shouold be populated and the
 *         call should return ZCM_EOK.