From: Christian Grothoff Date: Mon, 23 Jun 2014 21:18:08 +0000 (+0000) Subject: -move struct def to where it is used X-Git-Tag: initial-import-from-subversion-38251~3624 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=51b6dbc56f910bbb3e9ed378a71ebb2c87340885;p=oweals%2Fgnunet.git -move struct def to where it is used --- diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 68371703f..bb223263f 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -211,23 +211,6 @@ struct Session }; -/** - * Closure for #session_cmp_it(). - */ -struct SessionCompareContext -{ - /** - * Set to session matching the address. - */ - struct Session *res; - - /** - * Address we are looking for. - */ - const struct GNUNET_HELLO_Address *address; -}; - - /** * Closure for #process_inbound_tokenized_messages(). */ @@ -1581,7 +1564,6 @@ create_session (struct Plugin *plugin, } - /** * Function obtain the network type for a session * @@ -1597,6 +1579,23 @@ udp_get_network (void *cls, } +/** + * Closure for #session_cmp_it(). + */ +struct SessionCompareContext +{ + /** + * Set to session matching the address. + */ + struct Session *res; + + /** + * Address we are looking for. + */ + const struct GNUNET_HELLO_Address *address; +}; + + /** * Find a session with a matching address. *