diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-24 14:34:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-24 14:34:07 +0000 |
commit | 4a99626e6a02f71ed4d492d3454f22e1674c9c13 (patch) | |
tree | 482efee58be8f89cc1f5788918fa6635ff8e4c9d /src/include/gnunet_testbed_logger_service.h | |
parent | 71c68d0bbdb546bfe84b4536b447899c53cb3812 (diff) | |
download | gnunet-4a99626e6a02f71ed4d492d3454f22e1674c9c13.tar.gz gnunet-4a99626e6a02f71ed4d492d3454f22e1674c9c13.zip |
adapting testbed-logger to MQ API
Diffstat (limited to 'src/include/gnunet_testbed_logger_service.h')
-rw-r--r-- | src/include/gnunet_testbed_logger_service.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/gnunet_testbed_logger_service.h b/src/include/gnunet_testbed_logger_service.h index c10c2ee6b..4d7c3f7cb 100644 --- a/src/include/gnunet_testbed_logger_service.h +++ b/src/include/gnunet_testbed_logger_service.h | |||
@@ -40,7 +40,7 @@ extern "C" | |||
40 | #endif | 40 | #endif |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #include "gnunet_configuration_lib.h" | 43 | #include "gnunet_util_lib.h" |
44 | 44 | ||
45 | /** | 45 | /** |
46 | * Opaque handle for the logging service | 46 | * Opaque handle for the logging service |
@@ -70,7 +70,7 @@ GNUNET_TESTBED_LOGGER_disconnect (struct GNUNET_TESTBED_LOGGER_Handle *h); | |||
70 | 70 | ||
71 | /** | 71 | /** |
72 | * Functions of this type are called to notify a successful transmission of the | 72 | * Functions of this type are called to notify a successful transmission of the |
73 | * message to the logger service | 73 | * message to the logger service. |
74 | * | 74 | * |
75 | * @param cls the closure given to GNUNET_TESTBED_LOGGER_send() | 75 | * @param cls the closure given to GNUNET_TESTBED_LOGGER_send() |
76 | * @param size the amount of data sent | 76 | * @param size the amount of data sent |
@@ -87,7 +87,7 @@ typedef void | |||
87 | * | 87 | * |
88 | * @param h the logger handle | 88 | * @param h the logger handle |
89 | * @param data the data to send; | 89 | * @param data the data to send; |
90 | * @param size how many bytes of data to send | 90 | * @param size how many bytes of @a data to send |
91 | */ | 91 | */ |
92 | void | 92 | void |
93 | GNUNET_TESTBED_LOGGER_write (struct GNUNET_TESTBED_LOGGER_Handle *h, | 93 | GNUNET_TESTBED_LOGGER_write (struct GNUNET_TESTBED_LOGGER_Handle *h, |
@@ -99,13 +99,11 @@ GNUNET_TESTBED_LOGGER_write (struct GNUNET_TESTBED_LOGGER_Handle *h, | |||
99 | * Flush the buffered data to the logger service | 99 | * Flush the buffered data to the logger service |
100 | * | 100 | * |
101 | * @param h the logger handle | 101 | * @param h the logger handle |
102 | * @param timeout how long to wait before calling the flust completion callback | ||
103 | * @param cb the callback to call after the data is flushed | 102 | * @param cb the callback to call after the data is flushed |
104 | * @param cb_cls the closure for the above callback | 103 | * @param cb_cls the closure for @a cb |
105 | */ | 104 | */ |
106 | void | 105 | void |
107 | GNUNET_TESTBED_LOGGER_flush (struct GNUNET_TESTBED_LOGGER_Handle *h, | 106 | GNUNET_TESTBED_LOGGER_flush (struct GNUNET_TESTBED_LOGGER_Handle *h, |
108 | struct GNUNET_TIME_Relative timeout, | ||
109 | GNUNET_TESTBED_LOGGER_FlushCompletion cb, | 107 | GNUNET_TESTBED_LOGGER_FlushCompletion cb, |
110 | void *cb_cls); | 108 | void *cb_cls); |
111 | 109 | ||