summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_unpack.c
blob: a62dc295bb8bba7d61db595f8d0b314a43540da9 (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 *t)
{
  tai_unpack(s, &t->sec) ;
  uint32_unpack_big(s+8, &t->nano) ;
}