fr_value_box_init(out, type, NULL, false);
}
- if (fr_value_calc(cc->tmp_ctx, out, type, a, op, b) < 0) {
+ if (fr_value_calc_binary_op(cc->tmp_ctx, out, type, a, op, b) < 0) {
RETURN_OK_WITH_ERROR();
}
[FR_TYPE_FLOAT64] = calc_float64,
};
-int fr_value_calc(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_type_t hint, fr_value_box_t const *a, fr_token_t op, fr_value_box_t const *b)
+int fr_value_calc_binary_op(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_type_t hint, fr_value_box_t const *a, fr_token_t op, fr_value_box_t const *b)
{
int rcode = -1;
fr_value_box_t one, two;
extern "C" {
#endif
-int fr_value_calc(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_type_t hint, fr_value_box_t const *a, fr_token_t op, fr_value_box_t const *b);
+int fr_value_calc_binary_op(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_type_t hint, fr_value_box_t const *a, fr_token_t op, fr_value_box_t const *b);
#ifdef __cplusplus
}