gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r11965 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r11965 - gnunet/src/include
Date: Sat, 26 Jun 2010 19:15:54 +0200

Author: grothoff
Date: 2010-06-26 19:15:54 +0200 (Sat, 26 Jun 2010)
New Revision: 11965

Modified:
   gnunet/src/include/gnunet_network_lib.h
Log:
scheduler optimizing

Modified: gnunet/src/include/gnunet_network_lib.h
===================================================================
--- gnunet/src/include/gnunet_network_lib.h     2010-06-26 17:15:48 UTC (rev 
11964)
+++ gnunet/src/include/gnunet_network_lib.h     2010-06-26 17:15:54 UTC (rev 
11965)
@@ -323,7 +323,20 @@
 void GNUNET_NETWORK_fdset_set_native (struct GNUNET_NETWORK_FDSet *to,
                                      int nfd);
 
+
 /**
+ * Test native fd in a set
+ *
+ * @param to set to test, NULL for empty set
+ * @param nfd native FD to test, -1 for none
+ * @return GNUNET_YES if to contains nfd
+ */
+int 
+GNUNET_NETWORK_fdset_test_native (const struct GNUNET_NETWORK_FDSet *to,
+                                 int nfd);
+
+
+/**
  * Add a file handle to the fd set
  * @param fds fd set
  * @param h the file handle to add




reply via email to

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