added files
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / library / int64.h
1 #ifndef INT64_INCLUDED
2 #define INT64_INCLUDED
3
4 #ifdef __cplusplus
5 extern          "C" {
6 #endif
7
8     typedef struct counter64 U64;
9
10 #define I64CHARSZ 21
11
12     void            divBy10(U64, U64 *, unsigned int *);
13     void            multBy10(U64, U64 *);
14     void            incrByU16(U64 *, unsigned int);
15     void            incrByU32(U64 *, unsigned int);
16     void            zeroU64(U64 *);
17     int             isZeroU64(U64 *);
18     void            printU64(char *, U64 *);
19     void            printI64(char *, U64 *);
20     int             read64(U64 *, const char *);
21     void            u64Subtract(U64 * pu64one, U64 * pu64two,
22                                 U64 * pu64out);
23
24 #ifdef __cplusplus
25 }
26 #endif
27 #endif