gboolean
timestamp_serialize(SerializeArchive *sa, UnixTime *timestamps)
{
  return _write_log_stamp(sa, &timestamps[LM_TS_STAMP]) &&
         _write_log_stamp(sa, &timestamps[LM_TS_RECVD]) &&
         _write_log_stamp(sa, &timestamps[LM_TS_PROCESSED]);
}
gboolean
timestamp_serialize(SerializeArchive *sa, LogStamp *timestamps)
{
  LogStamp additional_timestamp;
  return _write_log_stamp(sa, &timestamps[LM_TS_STAMP]) &&
         _write_log_stamp(sa, &timestamps[LM_TS_RECVD]) &&
         _write_log_stamp(sa, &additional_timestamp);
}