- resp = tr_mon_resp_new(NULL, req, code, message, NULL);
+ resp = mon_resp_new(NULL, code, message, NULL);
// Only need the command to be set in req, don't actually need the options
assert(req);
payload = json_object();
assert(payload);
assert(! json_object_set_new(payload,
// Only need the command to be set in req, don't actually need the options
assert(req);
payload = json_object();
assert(payload);
assert(! json_object_set_new(payload,
json_string("1.2.3-4")));
assert(! json_object_set_new(payload,
json_string("1.2.3-4")));
assert(! json_object_set_new(payload,
json_integer(1234567890)));
assert(! json_object_set_new(payload,
json_integer(1234567890)));
assert(! json_object_set_new(payload,
- resp = tr_mon_resp_new(NULL, req, MON_RESP_SUCCESS, "success", payload);
+ resp = mon_resp_new(NULL, MON_RESP_SUCCESS, "success", payload);