summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 20:49:46 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 20:49:46 +0200
commite776dc16c958c71a83dffe06a85b5f98f3226e82 (patch)
treeed0b22342e6e20866d8ecfa1d50ad0f99145bc0b /include/libssh/libssh.h
parent9450a3c9874137d316b78a11d5ae21b887b9f1b2 (diff)
downloadlibssh-e776dc16c958c71a83dffe06a85b5f98f3226e82.tar.gz
libssh-e776dc16c958c71a83dffe06a85b5f98f3226e82.tar.xz
libssh-e776dc16c958c71a83dffe06a85b5f98f3226e82.zip
Fixed namespace problem in public structures
changed struct string_struct to ssh_string_struct buffer_struct to ssh_buffer_struct and so on. Should not break apps using the caps version of these
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 2f1d2fc..d3ca82e 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -71,13 +71,13 @@ typedef unsigned long long uint64_t;
extern "C" {
#endif
-typedef struct string_struct STRING;
-typedef struct buffer_struct BUFFER;
-typedef struct public_key_struct PUBLIC_KEY;
-typedef struct private_key_struct PRIVATE_KEY;
+typedef struct ssh_string_struct STRING;
+typedef struct ssh_buffer_struct BUFFER;
+typedef struct ssh_public_key_struct PUBLIC_KEY;
+typedef struct ssh_private_key_struct PRIVATE_KEY;
typedef struct ssh_options_struct SSH_OPTIONS;
-typedef struct channel_struct CHANNEL;
-typedef struct agent_struct AGENT;
+typedef struct ssh_channel_struct CHANNEL;
+typedef struct ssh_agent_struct AGENT;
typedef struct ssh_session SSH_SESSION;
typedef struct ssh_kbdint SSH_KBDINT;
struct keys_struct;