cap_request
static int cap_request(ri_hdl_t *, rcmd_t *);
if ((flags & RI_INCLUDE_QUERY) && cap_request(ri_hdl, rcm) != 0)