const char* TS_YAML_CPP_CORE_VERSION;

int TS_YAML_CPP_CORE_VERSION_LEN;

TSReturnCode TSYAMLCompatibilityCheck(const char *yamlcpp_lib_version, int
yamlcpp_lib_len);


This will be handy for several reasons:

1 - Avoid binary compatibility issues: Make sure that any plugin using a TS
API with a TSYaml as part of their signature runs the same YAML-CPP version
as core.
2 - if any JSONRPC Plugin handler wants to make sure they have the same
yaml version as in core(before registering by TSRPCRegister, or even after
using the constants).

Draft PR <https://github.com/apache/trafficserver/pull/9598> available

Regards,
Damian.
Yahoo

Reply via email to