gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7998 - GNUnet/src/include


From: gnunet
Subject: [GNUnet-SVN] r7998 - GNUnet/src/include
Date: Thu, 11 Dec 2008 20:42:41 -0700 (MST)

Author: nevans
Date: 2008-12-11 20:42:41 -0700 (Thu, 11 Dec 2008)
New Revision: 7998

Modified:
   GNUnet/src/include/gnunet_core.h
Log:
missing file...

Modified: GNUnet/src/include/gnunet_core.h
===================================================================
--- GNUnet/src/include/gnunet_core.h    2008-12-10 21:25:25 UTC (rev 7997)
+++ GNUnet/src/include/gnunet_core.h    2008-12-12 03:42:41 UTC (rev 7998)
@@ -331,7 +331,26 @@
 
   /* *********************** notifications ********************* */
 
+  /**
+        * Call the given function whenever we get
+        * connect to a peer.
+        *
+        * @return GNUNET_OK
+        */
+  int (*peer_connect_notification_register) (GNUNET_NodeIteratorCallback
+                                             callback, void *cls);
 
+        /**
+        * Stop calling the given function whenever we
+        * connect to a peer.
+        *
+        * @return GNUNET_OK on success, GNUNET_SYSERR
+        *         if this callback is not registered
+        */
+  int (*peer_connect_notification_unregister) (GNUNET_NodeIteratorCallback
+                                               callback, void *cls);
+
+
   /**
    * Call the given function whenever we get
    * disconnected from a particular peer.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]