diff options
author | marha <marha@users.sourceforge.net> | 2010-11-19 12:14:18 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-11-19 12:14:18 +0000 |
commit | 6be86147f292b3178413bc644853ad80b620042e (patch) | |
tree | d972cbd73289e9b6e9574c5fd65c6830f67861c6 /tools/plink/int64.h | |
parent | 111cb82886d25b0b7faa526ce411cc8ef02235a6 (diff) | |
download | vcxsrv-6be86147f292b3178413bc644853ad80b620042e.tar.gz vcxsrv-6be86147f292b3178413bc644853ad80b620042e.tar.bz2 vcxsrv-6be86147f292b3178413bc644853ad80b620042e.zip |
Reintegrate tools from trunk
Diffstat (limited to 'tools/plink/int64.h')
-rw-r--r-- | tools/plink/int64.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/plink/int64.h b/tools/plink/int64.h new file mode 100644 index 000000000..63df3a992 --- /dev/null +++ b/tools/plink/int64.h @@ -0,0 +1,24 @@ +/*
+ * Header for int64.c.
+ */
+
+#ifndef PUTTY_INT64_H
+#define PUTTY_INT64_H
+
+typedef struct {
+ unsigned long hi, lo;
+} uint64;
+
+uint64 uint64_div10(uint64 x, int *remainder);
+void uint64_decimal(uint64 x, char *buffer);
+uint64 uint64_make(unsigned long hi, unsigned long lo);
+uint64 uint64_add(uint64 x, uint64 y);
+uint64 uint64_add32(uint64 x, unsigned long y);
+int uint64_compare(uint64 x, uint64 y);
+uint64 uint64_subtract(uint64 x, uint64 y);
+double uint64_to_double(uint64 x);
+uint64 uint64_shift_right(uint64 x, int shift);
+uint64 uint64_shift_left(uint64 x, int shift);
+uint64 uint64_from_decimal(char *str);
+
+#endif
|