Esempio n. 1
0
dp_req_t
with_dp::t_dp_req_create_child(dp_req_t req, const char * type, void * buf, size_t capacity) {
    dp_req_t r = dp_req_create_with_buf(m_dp, cpe_hs_create(t_tmp_allocrator(), type), buf, capacity);
    dp_req_set_parent(r, req);
    return r;
}
Esempio n. 2
0
 void setParent(dp_req_t parent) {
     dp_req_set_parent(*this, parent);
 }