Function anjay_ret_string

Function Documentation

int anjay_ret_string(anjay_output_ctx_t *ctx, const char *value)

Returns a null-terminated string from the data model handler.

Parameters:
  • ctx – Output context to operate on.

  • value – Null-terminated string to return.

Returns:

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