yev_protocol_set_protocol_fill_hints_fn()

yev_protocol_set_protocol_fill_hints_fn()#

yev_protocol_set_protocol_fill_hints_fn() sets a custom function to fill protocol hints based on a given schema.

Prototype

int yev_protocol_set_protocol_fill_hints_fn(
    yev_protocol_fill_hints_fn_t yev_protocol_fill_hints_fn
);

Parameters

Key

Type

Description

yev_protocol_fill_hints_fn

yev_protocol_fill_hints_fn_t

A function pointer that defines how protocol hints should be filled based on the schema.


Return Value

Returns 0 on success, or -1 on failure.

Notes

This function allows customization of protocol hint filling, which is useful for adapting to different network configurations.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples