summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2015-09-16 22:13:09 +0200
committerFabiano Fidêncio <fidencio@redhat.com>2015-10-12 13:56:21 +0200
commitb10e72a2920c292f896b62253e2a029476c163d4 (patch)
tree86195906b120fe147169c2f679d74056c376d30b /include/libssh
parent6827275f063f629e0dacc01acbb24ee4e818ae7d (diff)
downloadlibssh-b10e72a2920c292f896b62253e2a029476c163d4.tar.gz
libssh-b10e72a2920c292f896b62253e2a029476c163d4.tar.xz
libssh-b10e72a2920c292f896b62253e2a029476c163d4.zip
cleanup: use ssh_ prefix in the agent (non-static) functions
Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/agent.h8
1 files changed, 4 insertions, 4 deletions
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);