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

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

void tain_unpack (char const *s, tain *t)
{
  tai_unpack(s, &t->sec) ;
  uint32_unpack_big(s+8, &t->nano) ;
}