aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/gnunet_time_dbus_lib_push.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/include/gnunet_time_dbus_lib_push.h')
-rw-r--r--src/lib/include/gnunet_time_dbus_lib_push.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/include/gnunet_time_dbus_lib_push.h b/src/lib/include/gnunet_time_dbus_lib_push.h
new file mode 100644
index 0000000..8469e31
--- /dev/null
+++ b/src/lib/include/gnunet_time_dbus_lib_push.h
@@ -0,0 +1,23 @@
1#ifndef GNUNET_TIME_DBUS_LIB_PUSH_H
2#define GNUNET_TIME_DBUS_LIB_PUSH_H
3
4/**
5 * Push a GNUNET_TIME_Absolute to DBusMessage, advancing the iterator.
6 */
7void
8GNUNET_TIME_DBUS_push_absolute (
9 DBusMessage *message,
10 DBusMessageIter *iter,
11 const struct GNUNET_TIME_Absolute *value);
12
13/**
14 * Push a GNUNET_TIME_Relative to DBusMessage, advancing the iterator.
15 */
16void
17GNUNET_TIME_DBUS_push_relative (
18 DBusMessage *message,
19 DBusMessageIter *iter,
20 const struct GNUNET_TIME_Relative *value);
21
22#endif
23