GNUNET_TIME_relative_hton (struct GNUNET_TIME_Relative a)
{
struct GNUNET_TIME_RelativeNBO ret;
- ret.value__ = GNUNET_htonll (a.rel_value);
+ ret.rel_value__ = GNUNET_htonll (a.rel_value);
return ret;
}
GNUNET_TIME_relative_ntoh (struct GNUNET_TIME_RelativeNBO a)
{
struct GNUNET_TIME_Relative ret;
- ret.rel_value = GNUNET_ntohll (a.value__);
+ ret.rel_value = GNUNET_ntohll (a.rel_value__);
return ret;
}
GNUNET_TIME_absolute_hton (struct GNUNET_TIME_Absolute a)
{
struct GNUNET_TIME_AbsoluteNBO ret;
- ret.value__ = GNUNET_htonll (a.abs_value);
+ ret.abs_value__ = GNUNET_htonll (a.abs_value);
return ret;
}
GNUNET_TIME_absolute_ntoh (struct GNUNET_TIME_AbsoluteNBO a)
{
struct GNUNET_TIME_Absolute ret;
- ret.abs_value = GNUNET_ntohll (a.value__);
+ ret.abs_value = GNUNET_ntohll (a.abs_value__);
return ret;
}