/** * Increase reference count of blob and return a reference to it. * * @param[in] self this * * @returns self **/ ZBlob * z_blob_ref(ZBlob *self) { z_enter(); z_refcount_inc(&self->ref_cnt); z_return(self); }
/** * Increase reference count of a blob system. * * @param[in] self the blob system object **/ void z_blob_system_ref(ZBlobSystem *self) { z_enter(); z_refcount_inc(&self->ref_cnt); z_return(); }
/** * Increment the reference count of a ZSockAddr instance. * * @param[in] a pointer to ZSockAddr instance * * @returns the same instance **/ ZSockAddr * z_sockaddr_ref(ZSockAddr *a) { if (a) z_refcount_inc(&a->refcnt); return a; }
static inline ZStackedProxy * z_stacked_proxy_ref(ZStackedProxy *self) { z_refcount_inc(&self->ref_cnt); return self; }
/** * z_dispatch_bind_ref: * @self: this * * Add a reference to @self: **/ ZDispatchBind * z_dispatch_bind_ref(ZDispatchBind *self) { z_refcount_inc(&self->ref_cnt); return self; }
ZListenerEntry * z_listener_entry_ref(ZListenerEntry *self) { z_refcount_inc(&self->ref_cnt); return self; }