Merge branch 'master' of git+ssh://gnunet.org/gnunet
[oweals/gnunet.git] / src / transport / transport-testing.h
index a4cfd89f62b5f00e244455012fc90dd46d6708af..4629d612509336d5e6195b9f86e4bdcdd4fd378b 100644 (file)
@@ -14,6 +14,8 @@
     
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+     SPDX-License-Identifier: AGPL3.0-or-later
 */
 
 /**
@@ -115,12 +117,12 @@ struct GNUNET_TRANSPORT_TESTING_PeerContext
   /**
    * Notify connect callback
    */
-  GNUNET_TRANSPORT_NotifyConnecT nc;
+  GNUNET_TRANSPORT_NotifyConnect nc;
 
   /**
    * Notify disconnect callback
    */
-  GNUNET_TRANSPORT_NotifyDisconnecT nd;
+  GNUNET_TRANSPORT_NotifyDisconnect nd;
 
   /**
    * Startup completed callback
@@ -291,8 +293,8 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_Handle *tth
                                      const char *cfgname,
                                      int peer_id,
                                      const struct GNUNET_MQ_MessageHandler *handlers,
-                                     GNUNET_TRANSPORT_NotifyConnecT nc,
-                                     GNUNET_TRANSPORT_NotifyDisconnecT nd,
+                                     GNUNET_TRANSPORT_NotifyConnect nc,
+                                     GNUNET_TRANSPORT_NotifyDisconnect nd,
                                     void *cb_cls,
                                      GNUNET_SCHEDULER_TaskCallback start_cb,
                                      void *start_cb_cls);