Function anjay_get_objlnk
Defined in File io.h
Function Documentation
-
int anjay_get_objlnk(anjay_input_ctx_t *ctx, anjay_oid_t *out_oid, anjay_iid_t *out_iid)
Reads an object link (Object ID/Object Instance ID pair) from the request content.
In case of error,
out_oidandout_iidare guaranteed to be left untouched.- Parameters:
ctx – Input context to operate on.
out_oid – [out] Object ID part of the returned value.
out_iid – [out] Object Instance ID part of the returned value.
- Returns:
0 on success, a negative value in case of error.