allow empty/NULL context message
[oweals/gnunet.git] / src / transport / gnunet-service-transport_clients.h
index a7cfe781586d520e824edb6c37b23fd7a76b98fb..9eee3699afec0614fb95b95569034444cb932e03 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     Copyright (C) 2010,2011 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2010,2011 GNUnet e.V.
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -87,6 +87,16 @@ GST_clients_broadcast_peer_notification (const struct GNUNET_PeerIdentity *peer,
                                          struct GNUNET_TIME_Absolute state_timeout);
 
 
+/**
+ * Notify all clients about a disconnect, and cancel
+ * pending SEND_OK messages for this peer.
+ *
+ * @param peer peer that disconnected
+ */
+void
+GST_clients_broadcast_disconnect (const struct GNUNET_PeerIdentity *peer);
+
+
 /**
  * Broadcast the new validation changes to all clients monitoring the peer.
  *