-clarify API (#2661)
authorChristian Grothoff <christian@grothoff.org>
Tue, 27 Nov 2012 20:15:57 +0000 (20:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 27 Nov 2012 20:15:57 +0000 (20:15 +0000)
src/include/gnunet_core_service.h

index c648c3ce01e6c4a61567d6bdac5a778fd1fc6af0..ca4048b5229cf1fb41991baf63e20103be2de118 100644 (file)
@@ -131,7 +131,9 @@ struct GNUNET_CORE_MessageHandler
  * for good).  Note that the private key of the peer is intentionally
  * not exposed here; if you need it, your process should try to read
  * the private key file directly (which should work if you are
- * authorized...).
+ * authorized...).  Implementations of this function must not call
+ * GNUNET_CORE_disconnect (other than by scheduling a new task to
+ * do this later).
  *
  * @param cls closure
  * @param server handle to the server, NULL if we failed