pub unsafe extern "C" fn vmeta_session_to_json(
meta: *const vmeta_session,
jobj: *mut json_object,
) -> c_intExpand description
Write session metadata to a JSON object. The jobj JSON object must have been previously allocated. @param meta: pointer to a session metadata structure @param jobj: pointer to the JSON object to write to (output) @return 0 on success, negative errno value in case of error