summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 22:31:39 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 22:31:39 +0200
commit69a01b365766956645cb2e7dbb3a6214e6ab3d85 (patch)
treededf5f17ce98960d49d2b1370f4db2b592c1df16 /include/libssh/priv.h
parente406b81d34ffc041bffbbaa93b983d583dd119ad (diff)
downloadlibssh-69a01b365766956645cb2e7dbb3a6214e6ab3d85.tar.gz
libssh-69a01b365766956645cb2e7dbb3a6214e6ab3d85.tar.xz
libssh-69a01b365766956645cb2e7dbb3a6214e6ab3d85.zip
move all u32,u16,u8 and u64 declarations in priv.h
And fix all headers which need u32,u8,u64
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 98fde99..944ad47 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -49,6 +49,12 @@
#define TYPE_RSA 2
#define TYPE_RSA1 3
+/* integer values */
+typedef uint32_t u32;
+typedef uint16_t u16;
+typedef uint64_t u64;
+typedef uint8_t u8;
+
/* profiling constants. Don't touch them unless you know what you do */
#ifdef HAVE_LIBCRYPTO
#define OPENSSL_BIGNUMS