2001-02-23 21:21:06 +03:00
|
|
|
/*
|
|
|
|
* Header for int64.c.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PUTTY_INT64_H
|
|
|
|
#define PUTTY_INT64_H
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
unsigned long hi, lo;
|
|
|
|
} uint64, int64;
|
|
|
|
|
|
|
|
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);
|
2001-08-26 15:35:11 +04:00
|
|
|
int uint64_compare(uint64 x, uint64 y);
|
2001-02-23 21:21:06 +03:00
|
|
|
|
|
|
|
#endif
|