release
[hcoop/zz_old/debian/djbdns.git] / tai_pack.c
1 #include "tai.h"
2
3 void tai_pack(char *s,const struct tai *t)
4 {
5 uint64 x;
6
7 x = t->x;
8 s[7] = x & 255; x >>= 8;
9 s[6] = x & 255; x >>= 8;
10 s[5] = x & 255; x >>= 8;
11 s[4] = x & 255; x >>= 8;
12 s[3] = x & 255; x >>= 8;
13 s[2] = x & 255; x >>= 8;
14 s[1] = x & 255; x >>= 8;
15 s[0] = x;
16 }