diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-02-18 15:07:02 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-02-18 15:07:02 +0000 |
commit | d720cc786723169cfdbb246ad6f1f584581f589d (patch) | |
tree | 2b2dad9c9a0d4d2d01545cac7f9f11993984884c /src/transport/plugin_transport_template.c | |
parent | 0e421fd4f11c564dba39d9c533aed642560c7655 (diff) | |
download | gnunet-d720cc786723169cfdbb246ad6f1f584581f589d.tar.gz gnunet-d720cc786723169cfdbb246ad6f1f584581f589d.zip |
fixing doxygen warnings
Diffstat (limited to 'src/transport/plugin_transport_template.c')
-rw-r--r-- | src/transport/plugin_transport_template.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c index bac9bcd82..fc1c1722b 100644 --- a/src/transport/plugin_transport_template.c +++ b/src/transport/plugin_transport_template.c | |||
@@ -136,13 +136,23 @@ struct Plugin | |||
136 | * @param cls closure | 136 | * @param cls closure |
137 | * @param target who should receive this message | 137 | * @param target who should receive this message |
138 | * @param priority how important is the message | 138 | * @param priority how important is the message |
139 | * @param msg the message to transmit | 139 | * @param msgbuf the message to transmit |
140 | * @param msgbuf_size number of bytes in 'msgbuf' | ||
140 | * @param timeout when should we time out | 141 | * @param timeout when should we time out |
142 | * @param addr the address to use (can be NULL if the plugin | ||
143 | * is "on its own" (i.e. re-use existing TCP connection)) | ||
144 | * @param addrlen length of the address in bytes | ||
145 | * @param force_address GNUNET_YES if the plugin MUST use the given address, | ||
146 | * otherwise the plugin may use other addresses or | ||
147 | * existing connections (if available) | ||
141 | * @param cont continuation to call once the message has | 148 | * @param cont continuation to call once the message has |
142 | * been transmitted (or if the transport is ready | 149 | * been transmitted (or if the transport is ready |
143 | * for the next transmission call; or if the | 150 | * for the next transmission call; or if the |
144 | * peer disconnected...) | 151 | * peer disconnected...) |
145 | * @param cont_cls closure for cont | 152 | * @param cont_cls closure for cont |
153 | * @return number of bytes used (on the physical network, with overheads); | ||
154 | * -1 on hard errors (i.e. address invalid); 0 is a legal value | ||
155 | * and does NOT mean that the message was not transmitted (DV) | ||
146 | */ | 156 | */ |
147 | static ssize_t | 157 | static ssize_t |
148 | template_plugin_send (void *cls, | 158 | template_plugin_send (void *cls, |