clj-libssh2.libssh2.agent
JNA functions for calling functions in libssh2 with names libssh2_agent_*
connect
(connect agent)
int libssh2_agent_connect(LIBSSH2_AGENT *agent);
disconnect
(disconnect agent)
int libssh2_agent_disconnect (LIBSSH2_AGENT *agent);
free
(free agent)
void libssh2_agent_free(LIBSSH2_AGENT *agent);
get-identity
(get-identity agent store prev)
int libssh2_agent_get_identity(LIBSSH2_AGENT *agent,
struct libssh2_agent_publickey **store,
struct libssh2_agent_publickey *prev);
init
(init session)
LIBSSH2_AGENT *libssh2_agent_init(LIBSSH2_SESSION *session);
list-identities
(list-identities agent)
int libssh2_agent_list_identities(LIBSSH2_AGENT *agent);
userauth
(userauth agent username identity)
int libssh2_agent_userauth(LIBSSH2_AGENT *agent,
const char *username,
struct libssh2_agent_publickey *identity);