Close a connection to an ssh-agent
#include <libssh2.h>
int libssh2_agent_disconnect(LIBSSH2_AGENT *agent);
Close a connection to an ssh-agent.
Returns 0 if succeeded, or a negative value for error.
Added in libssh2 1.2
libssh2_agent_connect(3) libssh2_agent_free(3)