summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_pack.c
blob: da8a92ff1954987fd3fbb5f8d94d84c1dae3fd4e (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/uint32.h>
#include <skalibs/tai.h>

void tain_pack (char *s, tain const *t)
{
  tai_pack(s, &t->sec) ;
  uint32_pack_big(s+8, t->nano) ;
}