Function anjay_ret_objlnk

Function Documentation

int anjay_ret_objlnk(anjay_output_ctx_t *ctx, anjay_oid_t oid, anjay_iid_t iid)

Returns a object link (Object ID/Instance ID pair) from the data model handler.

Parameters:
  • ctx – Output context to operate on.

  • oid – Object ID part of the link.

  • iid – Object Instance ID part of the link.

Returns:

0 on success, a negative value in case of error.