From b10e72a2920c292f896b62253e2a029476c163d4 Mon Sep 17 00:00:00 2001 From: Fabiano FidĂȘncio Date: Wed, 16 Sep 2015 22:13:09 +0200 Subject: cleanup: use ssh_ prefix in the agent (non-static) functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano FidĂȘncio --- include/libssh/agent.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/libssh') diff --git a/include/libssh/agent.h b/include/libssh/agent.h index 77209d0f..c7392732 100644 --- a/include/libssh/agent.h +++ b/include/libssh/agent.h @@ -81,16 +81,16 @@ struct ssh_agent_struct { * * @return An allocated ssh agent structure or NULL on error. */ -struct ssh_agent_struct *agent_new(struct ssh_session_struct *session); +struct ssh_agent_struct *ssh_agent_new(struct ssh_session_struct *session); -void agent_close(struct ssh_agent_struct *agent); +void ssh_agent_close(struct ssh_agent_struct *agent); /** * @brief Free an allocated ssh agent structure. * * @param agent The ssh agent structure to free. */ -void agent_free(struct ssh_agent_struct *agent); +void ssh_agent_free(struct ssh_agent_struct *agent); /** * @brief Check if the ssh agent is running. @@ -99,7 +99,7 @@ void agent_free(struct ssh_agent_struct *agent); * * @return 1 if it is running, 0 if not. */ -int agent_is_running(struct ssh_session_struct *session); +int ssh_agent_is_running(struct ssh_session_struct *session); int ssh_agent_get_ident_count(struct ssh_session_struct *session); -- cgit