source: filezilla/trunk/fuentes/src/putty/int64.h @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 3 years ago

First release to xenial

File size: 659 bytes
Line 
1/*
2 * Header for int64.c.
3 */
4
5#ifndef PUTTY_INT64_H
6#define PUTTY_INT64_H
7
8typedef struct {
9    unsigned long hi, lo;
10} uint64;
11
12#ifndef SHA512_STANDALONE
13uint64 uint64_div10(uint64 x, int *remainder);
14void uint64_decimal(uint64 x, char *buffer);
15uint64 uint64_make(unsigned long hi, unsigned long lo);
16uint64 uint64_add(uint64 x, uint64 y);
17uint64 uint64_add32(uint64 x, unsigned long y);
18int uint64_compare(uint64 x, uint64 y);
19uint64 uint64_subtract(uint64 x, uint64 y);
20double uint64_to_double(uint64 x);
21uint64 uint64_shift_right(uint64 x, int shift);
22uint64 uint64_shift_left(uint64 x, int shift);
23uint64 uint64_from_decimal(char *str);
24#endif
25
26#endif
Note: See TracBrowser for help on using the repository browser.