aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/gnunet_time_dbus_lib_push.h
blob: 8469e31a8d317bfa9ec5a292b2d97e51c92f6d20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef GNUNET_TIME_DBUS_LIB_PUSH_H
#define GNUNET_TIME_DBUS_LIB_PUSH_H

/**
 * Push a GNUNET_TIME_Absolute to DBusMessage, advancing the iterator.
 */
void
GNUNET_TIME_DBUS_push_absolute (
    DBusMessage *message,
    DBusMessageIter *iter,
    const struct GNUNET_TIME_Absolute *value);

/**
 * Push a GNUNET_TIME_Relative to DBusMessage, advancing the iterator.
 */
void
GNUNET_TIME_DBUS_push_relative (
    DBusMessage *message,
    DBusMessageIter *iter,
    const struct GNUNET_TIME_Relative *value);

#endif