-move struct def to where it is used
authorChristian Grothoff <christian@grothoff.org>
Mon, 23 Jun 2014 21:18:08 +0000 (21:18 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 23 Jun 2014 21:18:08 +0000 (21:18 +0000)
src/transport/plugin_transport_udp.c

index 68371703f6ad4304b800237557f946e9cd00b870..bb223263fafeb7599a982851f38bf61bee1cbf70 100644 (file)
@@ -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.
  *