gboolean timestamp_deserialize(SerializeArchive *sa, LogStamp *timestamps) { LogStamp additional_timestamp = {0}; return _read_log_stamp(sa, ×tamps[LM_TS_STAMP]) && _read_log_stamp(sa, ×tamps[LM_TS_RECVD]) && _read_log_stamp(sa, &additional_timestamp); }
gboolean timestamp_deserialize(SerializeArchive *sa, UnixTime *timestamps) { return (timestamp_deserialize_legacy(sa, timestamps) && _read_log_stamp(sa, ×tamps[LM_TS_PROCESSED])); }
gboolean timestamp_deserialize_legacy(SerializeArchive *sa, UnixTime *timestamps) { return (_read_log_stamp(sa, ×tamps[LM_TS_STAMP]) && _read_log_stamp(sa, ×tamps[LM_TS_RECVD])); }