Set config API for C client

Hi, I’m aware of “aerospike_info_host” API which can be used to get details of a set in C client, similar to a “get-config” command from asinfo.

Is there any equivalent API for “set-config” command?

Any command string that can be sent via asinfo can also be sent using aerospike_info_host(). The result(s) are returned as a string. It’s the user’s responsibility to parse that response string .

Hi Brian, You were right I tried set-config using same API and it worked. Thank you for the response.

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.