Function anjay_ret_bool

Function Documentation

int anjay_ret_bool(anjay_output_ctx_t *ctx, bool value)

Returns a boolean value from the data model handler.

Parameters:
  • ctx – Output context to operate on.

  • value – The value to return.

Returns:

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