4 typedef unsigned short uint16;
5 typedef unsigned int uint32;
8 #define PVAL(buf,pos) ((((const unsigned char *)(buf))[pos]))
9 #define SVAL(buf,pos) ((PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8))
10 #define IVAL(buf,pos) ((SVAL(buf,pos)|SVAL(buf,(pos)+2)<<16))
12 #define SVAL(buf,pos) (*(const uint16 *)((const char *)(buf) + (pos)))
13 #define IVAL(buf,pos) (*(const uint32 *)((const char *)(buf) + (pos)))
16 #define SMB_BIG_UINT unsigned long long
29 printf("%.0f\n", (double)x);