[−][src]Function dqcsim::bindings::dqcs_cmd_new
#[no_mangle]pub extern "C" fn dqcs_cmd_new(
iface: *const c_char,
oper: *const c_char
) -> dqcs_handle_t
Creates a new ArbCmd
object.
Returns the handle of the newly created ArbCmd
. The ArbCmd
is
initialized with the given interface and operation IDs, JSON object {}
,
and an empty binary argument list. Upon failure, returns 0.
ArbCmd
objects support the handle
, arb
, and cmd
interfaces.