Example #1
0
gboolean
timestamp_deserialize(SerializeArchive *sa, LogStamp *timestamps)
{
  LogStamp additional_timestamp = {0};
  return _read_log_stamp(sa, &timestamps[LM_TS_STAMP]) &&
         _read_log_stamp(sa, &timestamps[LM_TS_RECVD]) &&
         _read_log_stamp(sa, &additional_timestamp);
}
Example #2
0
gboolean
timestamp_deserialize(SerializeArchive *sa, UnixTime *timestamps)
{
  return (timestamp_deserialize_legacy(sa, timestamps) &&
          _read_log_stamp(sa, &timestamps[LM_TS_PROCESSED]));
}
Example #3
0
gboolean
timestamp_deserialize_legacy(SerializeArchive *sa, UnixTime *timestamps)
{
  return (_read_log_stamp(sa, &timestamps[LM_TS_STAMP]) &&
          _read_log_stamp(sa, &timestamps[LM_TS_RECVD]));
}