aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/gnunet_time_dbus_lib_pop.h
blob: a1f045621422b8135ea35034924d35e546b62978 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef GNUNET_TIME_DBUS_LIB_POP_H
#define GNUNET_TIME_DBUS_LIB_POP_H

/**
 * Pop a GNUNET_TIME_Absolute from a DBusMessage, advancing the iterator.
 * `arg_name` is used for reporting useful diagnostics if the value in the
 * message is missing or the wrong type.
 */
DBusMessage *
GNUNET_TIME_DBUS_pop_absolute (
    DBusMessage *message,
    DBusMessageIter *iter,
    const char *arg_name,
    struct GNUNET_TIME_Absolute *value);

#endif