Session clients required the list of hashes from a merge() to perform various operations based on the messages that were accepted. This updates merge() to return a vector of accepted hashes.
For the C API, this returns a config_string_list* pointer that needs to be freed, but contains all the good hashes (the same way current_hashes() works).
Edit: most of this is merged via #51; this PR just updates the documentation and fixes some leaky code in the test suite.
Session clients required the list of hashes from a merge() to perform various operations based on the messages that were accepted. This updates
merge()
to return a vector of accepted hashes.For the C API, this returns a config_string_list* pointer that needs to be freed, but contains all the good hashes (the same way current_hashes() works).
Edit: most of this is merged via #51; this PR just updates the documentation and fixes some leaky code in the test suite.