uncrustify as demanded.
[oweals/gnunet.git] / src / include / gnunet_transport_plugin.h
1 /*
2      This file is part of GNUnet
3      Copyright (C) 2009-2014 GNUnet e.V.
4
5      GNUnet is free software: you can redistribute it and/or modify it
6      under the terms of the GNU Affero General Public License as published
7      by the Free Software Foundation, either version 3 of the License,
8      or (at your option) any later version.
9
10      GNUnet is distributed in the hope that it will be useful, but
11      WITHOUT ANY WARRANTY; without even the implied warranty of
12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13      Affero General Public License for more details.
14
15      You should have received a copy of the GNU Affero General Public License
16      along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18      SPDX-License-Identifier: AGPL3.0-or-later
19  */
20
21 /**
22  * @author Christian Grothoff
23  *
24  * @file
25  * Transport service plugin API
26  *
27  * @defgroup transport-plugin  Transport Service plugin API
28  *
29  * Specifies the struct that is given to the plugin's entry method and the other
30  * struct that must be returned.  Note that the destructors of transport plugins
31  * will be given the value returned by the constructor and is expected to return
32  * a NULL pointer.
33  *
34  * @{
35  */
36 #ifndef PLUGIN_TRANSPORT_H
37 #define PLUGIN_TRANSPORT_H
38
39 #include "gnunet_configuration_lib.h"
40 #include "gnunet_scheduler_lib.h"
41 #include "gnunet_statistics_service.h"
42 #include "gnunet_transport_service.h"
43 #include "gnunet_ats_service.h"
44
45 #define TRANSPORT_SESSION_INBOUND_STRING "<inbound>"
46
47 /**
48  * Opaque pointer that plugins can use to distinguish specific
49  * connections to a given peer.  Typically used by stateful plugins to
50  * allow the service to refer to specific streams instead of a more
51  * general notion of "some connection" to the given peer.  This is
52  * useful since sometimes (i.e. for inbound TCP connections) a
53  * connection may not have an address that can be used for meaningful
54  * distinction between sessions to the same peer.
55  *
56  * Each 'struct GNUNET_ATS_Session' MUST start with the 'struct GNUNET_PeerIdentity'
57  * of the peer the session is for (which will be used for some error
58  * checking by the ATS code).
59  */
60 struct GNUNET_ATS_Session;
61
62
63 /**
64  * Function that will be called whenever the plugin internally
65  * cleans up a session pointer and hence the service needs to
66  * discard all of those sessions as well.  Plugins that do not
67  * use sessions can simply omit calling this function and always
68  * use NULL wherever a session pointer is needed.  This function
69  * should be called BEFORE a potential "TransmitContinuation"
70  * from the "TransmitFunction".
71  *
72  * @param cls closure
73  * @param peer which peer was the session for
74  * @param session which session is being destroyed
75  */
76 typedef void
77 (*GNUNET_TRANSPORT_SessionEnd) (void *cls,
78                                 const struct GNUNET_HELLO_Address *address,
79                                 struct GNUNET_ATS_Session *session);
80
81
82 /**
83  * Plugin tells transport service about a new inbound session
84  *
85  * @param cls unused
86  * @param address the address
87  * @param session the new session
88  * @param net network information
89  */
90 typedef void
91 (*GNUNET_TRANSPORT_SessionStart) (void *cls,
92                                   const struct GNUNET_HELLO_Address *address,
93                                   struct GNUNET_ATS_Session *session,
94                                   enum GNUNET_NetworkType net);
95
96
97 /**
98  * Function called by the transport for each received message.
99  * This function should also be called with "NULL" for the
100  * message to signal that the other peer disconnected.
101  *
102  * @param cls closure
103  * @param peer (claimed) identity of the other peer
104  * @param message the message, NULL if we only care about
105  *                learning about the delay until we should receive again
106  * @param session identifier used for this session (NULL for plugins
107  *                that do not offer bi-directional communication to the sender
108  *                using the same "connection")
109  * @param sender_address binary address of the sender (if we established the
110  *                connection or are otherwise sure of it; should be NULL
111  *                for inbound TCP/UDP connections since it it not clear
112  *                that we could establish ourselves a connection to that
113  *                IP address and get the same system)
114  * @param sender_address_len number of bytes in @a sender_address
115  * @return how long the plugin should wait until receiving more data;
116  *         returning #GNUNET_TIME_UNIT_FOREVER_REL means that the
117  *         connection should be closed
118  */
119 typedef struct GNUNET_TIME_Relative
120 (*GNUNET_TRANSPORT_PluginReceiveCallback) (void *cls,
121                                            const struct GNUNET_HELLO_Address *address,
122                                            struct GNUNET_ATS_Session *session,
123                                            const struct GNUNET_MessageHeader *message);
124
125
126 /**
127  * Function that can be called by plugins to figure if an address is
128  * an loopback, LAN or WAN address.   Ultimately invokes
129  * #GNUNET_ATS_address_get_type().
130  *
131  * @param cls closure
132  * @param addr binary address
133  * @param addrlen length of the @a addr
134  * @return type of the network the address belongs to
135  */
136 typedef enum GNUNET_NetworkType
137 (*GNUNET_TRANSPORT_AddressToType)(void *cls,
138                                   const struct sockaddr *addr,
139                                   size_t addrlen);
140
141
142 /**
143  * Function called when distance of an address changes.
144  *
145  * @param cls closure
146  * @param peer peer
147  * @param distance new distance
148  */
149 typedef void
150 (*GNUNET_TRANSPORT_UpdateAddressDistance) (void *cls,
151                                            const struct GNUNET_HELLO_Address *address,
152                                            uint32_t distance);
153
154
155 /**
156  * Function that will be called for each address the transport
157  * is aware that it might be reachable under.
158  *
159  * @param cls closure
160  * @param add_remove should the address added (#GNUNET_YES) or removed (#GNUNET_NO) from the
161  *                   set of valid addresses?
162  * @param address the address to add or remove
163  */
164 typedef void
165 (*GNUNET_TRANSPORT_AddressNotification) (void *cls,
166                                          int add_remove,
167                                          const struct GNUNET_HELLO_Address *address);
168
169
170 /**
171  * Function that will be called whenever the plugin receives data over
172  * the network and wants to determine how long it should wait until
173  * the next time it reads from the given peer.  Note that some plugins
174  * (such as UDP) may not be able to wait (for a particular peer), so
175  * the waiting part is optional.  Plugins that can wait should call
176  * this function, sleep the given amount of time, and call it again
177  * (with zero bytes read) UNTIL it returns zero and only then read.
178  *
179  * @param cls closure
180  * @param peer which peer did we read data from
181  * @param amount_recved number of bytes read (can be zero)
182  * @return how long to wait until reading more from this peer
183  *         (to enforce inbound quotas); returning #GNUNET_TIME_UNIT_FOREVER_REL
184  *         means that the connection should be closed
185  */
186 typedef struct GNUNET_TIME_Relative
187 (*GNUNET_TRANSPORT_TrafficReport) (void *cls,
188                                    const struct GNUNET_PeerIdentity *peer,
189                                    size_t amount_recved);
190
191
192 /**
193  * Function that returns a HELLO message.
194  *
195  * @return HELLO message (FIXME with what?)
196  */
197 typedef const struct GNUNET_MessageHeader *
198 (*GNUNET_TRANSPORT_GetHelloCallback) (void);
199
200
201 /**
202  * The transport service will pass a pointer to a struct
203  * of this type as the first and only argument to the
204  * entry point of each transport plugin.
205  */
206 struct GNUNET_TRANSPORT_PluginEnvironment {
207   /**
208    * Configuration to use.
209    */
210   const struct GNUNET_CONFIGURATION_Handle *cfg;
211
212   /**
213    * Identity of this peer.
214    */
215   const struct GNUNET_PeerIdentity *my_identity;
216
217   /**
218    * Closure for the various callbacks.
219    */
220   void *cls;
221
222   /**
223    * Handle for reporting statistics.
224    */
225   struct GNUNET_STATISTICS_Handle *stats;
226
227   /**
228    * Function that should be called by the transport plugin
229    * whenever a message is received.  If this field is "NULL",
230    * the plugin should load in 'stub' mode and NOT fully
231    * initialize and instead only return an API with the
232    * @e address_pretty_printer, @e address_to_string and
233    * @e string_to_address functions.
234    */
235   GNUNET_TRANSPORT_PluginReceiveCallback receive;
236
237   /**
238    * Function that returns our HELLO.
239    */
240   GNUNET_TRANSPORT_GetHelloCallback get_our_hello;
241
242   /**
243    * Function that must be called by each plugin to notify the
244    * transport service about the addresses under which the transport
245    * provided by the plugin can be reached.
246    */
247   GNUNET_TRANSPORT_AddressNotification notify_address;
248
249   /**
250    * Function that must be called by the plugin when a non-NULL
251    * session handle stops being valid (is destroyed).
252    */
253   GNUNET_TRANSPORT_SessionEnd session_end;
254
255   /**
256    * Function called by the plugin when a new (incoming) session was created
257    * not explicitly created using the the get_session function
258    */
259   GNUNET_TRANSPORT_SessionStart session_start;
260
261   /**
262    * Function that will be called to figure if an address is an loopback,
263    * LAN, WAN etc. address
264    */
265   GNUNET_TRANSPORT_AddressToType get_address_type;
266
267   /**
268    * Function that will be called by DV to update distance for
269    * an address.
270    */
271   GNUNET_TRANSPORT_UpdateAddressDistance update_address_distance;
272
273   /**
274    * What is the maximum number of connections that this transport
275    * should allow?  Transports that do not have sessions (such as
276    * UDP) can ignore this value.
277    */
278   uint32_t max_connections;
279 };
280
281
282 /**
283  * Function called by the #GNUNET_TRANSPORT_TransmitFunction
284  * upon "completion".  In the case that a peer disconnects,
285  * this function must be called for each pending request
286  * (with a 'failure' indication) AFTER notifying the service
287  * about the disconnect event (so that the service won't try
288  * to transmit more messages, believing the connection still
289  * exists...).
290  *
291  * @param cls closure
292  * @param target who was the recipient of the message?
293  * @param result #GNUNET_OK on success
294  *               #GNUNET_SYSERR if the target disconnected;
295  *               disconnect will ALSO be signalled using
296  *               the ReceiveCallback.
297  * @param size_payload bytes of payload from transport service in message
298  * @param size_on_wire bytes required on wire for transmission,
299  *               0 if result == #GNUNET_SYSERR
300  */
301 typedef void
302 (*GNUNET_TRANSPORT_TransmitContinuation) (void *cls,
303                                           const struct GNUNET_PeerIdentity *target,
304                                           int result,
305                                           size_t size_payload,
306                                           size_t size_on_wire);
307
308
309 /**
310  * The new send function with just the session and no address
311  *
312  * Function that can be used by the transport service to transmit
313  * a message using the plugin.   Note that in the case of a
314  * peer disconnecting, the continuation MUST be called
315  * prior to the disconnect notification itself.  This function
316  * will be called with this peer's HELLO message to initiate
317  * a fresh connection to another peer.
318  *
319  * @param cls closure
320  * @param session which session must be used
321  * @param msgbuf the message to transmit
322  * @param msgbuf_size number of bytes in @a msgbuf
323  * @param priority how important is the message (most plugins will
324  *                 ignore message priority and just FIFO)
325  * @param to how long to wait at most for the transmission (does not
326  *                require plugins to discard the message after the timeout,
327  *                just advisory for the desired delay; most plugins will ignore
328  *                this as well)
329  * @param cont continuation to call once the message has
330  *        been transmitted (or if the transport is ready
331  *        for the next transmission call; or if the
332  *        peer disconnected...); can be NULL
333  * @param cont_cls closure for @a cont
334  * @return number of bytes used (on the physical network, with overheads);
335  *         -1 on hard errors (i.e. address invalid); 0 is a legal value
336  *         and does NOT mean that the message was not transmitted (DV)
337  */
338 typedef ssize_t
339 (*GNUNET_TRANSPORT_TransmitFunction) (void *cls,
340                                       struct GNUNET_ATS_Session *session,
341                                       const char *msgbuf,
342                                       size_t msgbuf_size,
343                                       unsigned int priority,
344                                       struct GNUNET_TIME_Relative to,
345                                       GNUNET_TRANSPORT_TransmitContinuation cont,
346                                       void *cont_cls);
347
348
349 /**
350  * Function that can be called to force a disconnect from the
351  * specified neighbour for the given session only.  .  This should
352  * also cancel all previously scheduled transmissions for this
353  * session.  Obviously the transmission may have been partially
354  * completed already, which is OK.  The plugin is supposed to close
355  * the connection (if applicable).
356  *
357  * @param cls closure with the `struct Plugin`
358  * @param session session to destroy
359  * @return #GNUNET_OK on success
360  */
361 typedef int
362 (*GNUNET_TRANSPORT_DisconnectSessionFunction) (void *cls,
363                                                struct GNUNET_ATS_Session *session);
364
365
366 /**
367  * Function that is called to get the keepalive factor.
368  * #GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT is divided by this number to
369  * calculate the interval between keepalive packets.
370  *
371  * @param cls closure with the `struct Plugin`
372  * @return keepalive factor
373  */
374 typedef unsigned int
375 (*GNUNET_TRANSPORT_QueryKeepaliveFactorFunction) (void *cls);
376
377
378 /**
379  * Function that can be called to force a disconnect from the
380  * specified neighbour.  This should also cancel all previously
381  * scheduled transmissions.  Obviously the transmission may have been
382  * partially completed already, which is OK.  The plugin is supposed
383  * to close the connection (if applicable) and no longer call the
384  * transmit continuation(s).
385  *
386  * @param cls closure
387  * @param target peer for which the last transmission is
388  *        to be cancelled
389  */
390 typedef void
391 (*GNUNET_TRANSPORT_DisconnectPeerFunction) (void *cls,
392                                             const struct GNUNET_PeerIdentity *target);
393
394
395 /**
396  * Function called by the pretty printer for the resolved address for
397  * each human-readable address obtained.  The callback can be called
398  * several times. The last invocation must be with a @a address of
399  * NULL and a @a res of #GNUNET_OK.  Thus, to indicate conversion
400  * errors, the callback might be called first with @a address NULL and
401  * @a res being #GNUNET_SYSERR.  In that case, there must still be a
402  * subsequent call later with @a address NULL and @a res #GNUNET_OK.
403  *
404  * @param cls closure
405  * @param address one of the names for the host, NULL on last callback
406  * @param res #GNUNET_OK if conversion was successful, #GNUNET_SYSERR on failure,
407  *      #GNUNET_OK on last callback
408  */
409 typedef void
410 (*GNUNET_TRANSPORT_AddressStringCallback) (void *cls,
411                                            const char *address,
412                                            int res);
413
414
415 /**
416  * Convert the transports address to a nice, human-readable
417  * format.
418  *
419  * @param cls closure
420  * @param type name of the transport that generated the address
421  * @param addr one of the addresses of the host, NULL for the last address
422  *        the specific address format depends on the transport
423  * @param addrlen length of the @a addr
424  * @param numeric should (IP) addresses be displayed in numeric form?
425  * @param timeout after how long should we give up?
426  * @param asc function to call on each string
427  * @param asc_cls closure for @a asc
428  */
429 typedef void
430 (*GNUNET_TRANSPORT_AddressPrettyPrinter) (void *cls,
431                                           const char *type,
432                                           const void *addr,
433                                           size_t addrlen,
434                                           int numeric,
435                                           struct GNUNET_TIME_Relative timeout,
436                                           GNUNET_TRANSPORT_AddressStringCallback asc,
437                                           void *asc_cls);
438
439
440 /**
441  * Another peer has suggested an address for this peer and transport
442  * plugin.  Check that this could be a valid address.  This function
443  * is not expected to 'validate' the address in the sense of trying to
444  * connect to it but simply to see if the binary format is technically
445  * legal for establishing a connection to this peer (and make sure that
446  * the address really corresponds to our network connection/settings
447  * and not some potential man-in-the-middle).
448  *
449  * @param addr pointer to the address
450  * @param addrlen length of @a addr
451  * @return #GNUNET_OK if this is a plausible address for this peer
452  *         and transport, #GNUNET_SYSERR if not
453  */
454 typedef int
455 (*GNUNET_TRANSPORT_CheckAddress) (void *cls,
456                                   const void *addr,
457                                   size_t addrlen);
458
459
460 /**
461  * Create a new session to transmit data to the target
462  * This session will used to send data to this peer and the plugin will
463  * notify us by calling the env->session_end function
464  *
465  * @param cls the plugin
466  * @param address the hello address
467  * @return the session if the address is valid, NULL otherwise
468  */
469 typedef struct GNUNET_ATS_Session *
470 (*GNUNET_TRANSPORT_CreateSession) (void *cls,
471                                    const struct GNUNET_HELLO_Address *address);
472
473
474 /**
475  * Function that will be called whenever the transport service wants to
476  * notify the plugin that a session is still active and in use and
477  * therefore the session timeout for this session has to be updated
478  *
479  * @param cls closure
480  * @param peer which peer was the session for
481  * @param session which session is being updated
482  */
483 typedef void
484 (*GNUNET_TRANSPORT_UpdateSessionTimeout) (void *cls,
485                                           const struct GNUNET_PeerIdentity *peer,
486                                           struct GNUNET_ATS_Session *session);
487
488
489 /**
490  * Function that will be called whenever the transport service wants to
491  * notify the plugin that the inbound quota changed and that the plugin
492  * should update it's delay for the next receive value
493  *
494  * @param cls closure
495  * @param peer which peer was the session for
496  * @param session which session is being updated
497  * @param delay new delay to use for receiving
498  */
499 typedef void
500 (*GNUNET_TRANSPORT_UpdateInboundDelay) (void *cls,
501                                         const struct GNUNET_PeerIdentity *peer,
502                                         struct GNUNET_ATS_Session *session,
503                                         struct GNUNET_TIME_Relative delay);
504
505
506 /**
507  * Function called for a quick conversion of the binary address to
508  * a numeric address.  Note that the caller must not free the
509  * address and that the next call to this function is allowed
510  * to override the address again.
511  *
512  * @param cls closure
513  * @param addr binary address
514  * @param addr_len length of the @a addr
515  * @return string representing the same address
516  */
517 typedef const char *
518 (*GNUNET_TRANSPORT_AddressToString) (void *cls,
519                                      const void *addr,
520                                      size_t addrlen);
521
522
523 /**
524  * Function called to convert a string address to
525  * a binary address.
526  *
527  * @param cls closure (`struct Plugin*`)
528  * @param addr string address
529  * @param addrlen length of the @a addr including \0 termination
530  * @param buf location to store the buffer
531  *        If the function returns #GNUNET_SYSERR, its contents are undefined.
532  * @param added length of created address
533  * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure
534  */
535 typedef int
536 (*GNUNET_TRANSPORT_StringToAddress) (void *cls,
537                                      const char *addr,
538                                      uint16_t addrlen,
539                                      void **buf,
540                                      size_t *added);
541
542
543 /**
544  * Function to obtain the network type for a session
545  *
546  * @param cls closure (`struct Plugin *`)
547  * @param session the session
548  * @return the network type
549  */
550 typedef enum GNUNET_NetworkType
551 (*GNUNET_TRANSPORT_GetNetworkType)(void *cls,
552                                    struct GNUNET_ATS_Session *session);
553
554
555 /**
556  * Function to obtain the network type for an address.
557  *
558  * @param cls closure (`struct Plugin *`)
559  * @param address the address
560  * @return the network type
561  */
562 typedef enum GNUNET_NetworkType
563 (*GNUNET_TRANSPORT_GetNetworkTypeForAddress)(void *cls,
564                                              const struct GNUNET_HELLO_Address *address);
565
566
567 /**
568  * Function called by the plugin with information about the
569  * current sessions managed by the plugin (for monitoring).
570  *
571  * @param cls closure
572  * @param session session handle this information is about,
573  *        NULL to indicate that we are "in sync" (initial
574  *        iteration complete)
575  * @param info information about the state of the session,
576  *        NULL if @a session is also NULL and we are
577  *        merely signalling that the initial iteration is over
578  */
579 typedef void
580 (*GNUNET_TRANSPORT_SessionInfoCallback) (void *cls,
581                                          struct GNUNET_ATS_Session *session,
582                                          const struct GNUNET_TRANSPORT_SessionInfo *info);
583
584
585 /**
586  * Begin monitoring sessions of a plugin.  There can only
587  * be one active monitor per plugin (i.e. if there are
588  * multiple monitors, the transport service needs to
589  * multiplex the generated events over all of them).
590  *
591  * @param cls closure of the plugin
592  * @param sic callback to invoke, NULL to disable monitor;
593  *            plugin will being by iterating over all active
594  *            sessions immediately and then enter monitor mode
595  * @param sic_cls closure for @a sic
596  */
597 typedef void
598 (*GNUNET_TRANSPORT_SessionMonitorSetup) (void *cls,
599                                          GNUNET_TRANSPORT_SessionInfoCallback sic,
600                                          void *sic_cls);
601
602
603 /**
604  * Each plugin is required to return a pointer to a struct of this
605  * type as the return value from its entry point.
606  */
607 struct GNUNET_TRANSPORT_PluginFunctions {
608   /**
609    * Closure for all of the callbacks.
610    */
611   void *cls;
612
613   /**
614    * Function that the transport service will use to transmit data to
615    * another peer.  May be NULL for plugins that only support
616    * receiving data.  After this call, the plugin call the specified
617    * continuation with success or error before notifying us about the
618    * target having disconnected.
619    */
620   GNUNET_TRANSPORT_TransmitFunction send;
621
622   /**
623    * Function that can be used to force the plugin to disconnect from
624    * the given peer and cancel all previous transmissions (and their
625    * continuations).
626    */
627   GNUNET_TRANSPORT_DisconnectPeerFunction disconnect_peer;
628
629   /**
630    * Function that can be used to force the plugin to disconnect from
631    * the given peer and cancel all previous transmissions (and their
632    * continuations).
633    */
634   GNUNET_TRANSPORT_DisconnectSessionFunction disconnect_session;
635
636   /**
637    * Function that will be called whenever the transport service wants to
638    * notify the plugin that a session is still active and in use and
639    * therefore the session timeout for this session has to be updated
640    */
641   GNUNET_TRANSPORT_UpdateSessionTimeout update_session_timeout;
642
643   /**
644    * Function that will be called whenever the transport service wants to
645    * notify the plugin that the inbound quota changed and that the plugin
646    * should update it's delay for the next receive value
647    */
648   GNUNET_TRANSPORT_UpdateInboundDelay update_inbound_delay;
649
650   /**
651    * Function that is used to query keepalive factor.
652    * #GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT is divided by this number to
653    * calculate the interval between keepalive packets.
654    */
655   GNUNET_TRANSPORT_QueryKeepaliveFactorFunction query_keepalive_factor;
656
657   /**
658    * Function to pretty-print addresses.
659    */
660   GNUNET_TRANSPORT_AddressPrettyPrinter address_pretty_printer;
661
662   /**
663    * Function that will be called to check if a binary address
664    * for this plugin is well-formed and corresponds to an
665    * address for THIS peer (as per our configuration).  Naturally,
666    * if absolutely necessary, plugins can be a bit conservative in
667    * their answer, but in general plugins should make sure that the
668    * address does not redirect traffic to a 3rd party that might
669    * try to man-in-the-middle our traffic.
670    */
671   GNUNET_TRANSPORT_CheckAddress check_address;
672
673   /**
674    * Function that will be called to convert a binary address
675    * to a string (numeric conversion only).
676    */
677   GNUNET_TRANSPORT_AddressToString address_to_string;
678
679   /**
680    * Function that will be called to convert a string address
681    * to binary (numeric conversion only).
682    */
683   GNUNET_TRANSPORT_StringToAddress string_to_address;
684
685   /**
686    * Function that will be called tell the plugin to create a session
687    * object.
688    */
689   GNUNET_TRANSPORT_CreateSession get_session;
690
691   /**
692    * Function to obtain the network type for a session
693    */
694   GNUNET_TRANSPORT_GetNetworkType get_network;
695
696   /**
697    * Function to obtain the network type for an address
698    */
699   GNUNET_TRANSPORT_GetNetworkTypeForAddress get_network_for_address;
700
701   /**
702    * Function to monitor the sessions managed by the plugin.
703    */
704   GNUNET_TRANSPORT_SessionMonitorSetup setup_monitor;
705 };
706
707
708 /*#ifndef PLUGIN_TRANSPORT_H*/
709 #endif
710
711 /** @} */  /* end of group */
712
713 /* end of gnunet_transport_plugin.h */