gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r9517 - gnunet/src/include
Date: Sun, 15 Nov 2009 09:53:43 -0700

Author: grothoff
Date: 2009-11-15 09:53:43 -0700 (Sun, 15 Nov 2009)
New Revision: 9517

Modified:
   gnunet/src/include/gnunet_client_lib.h
   gnunet/src/include/gnunet_connection_lib.h
Log:
ignore shutdown support for client/connection and shutdown fix in connection

Modified: gnunet/src/include/gnunet_client_lib.h
===================================================================
--- gnunet/src/include/gnunet_client_lib.h      2009-11-15 16:49:39 UTC (rev 
9516)
+++ gnunet/src/include/gnunet_client_lib.h      2009-11-15 16:53:43 UTC (rev 
9517)
@@ -63,7 +63,19 @@
                                                         
GNUNET_CONFIGURATION_Handle
                                                         *cfg);
 
+
 /**
+ * Configure this connection to ignore shutdown signals.
+ *
+ * @param h client handle
+ * @param do_ignore GNUNET_YES to ignore, GNUNET_NO to restore default
+ */
+void
+GNUNET_CLIENT_ignore_shutdown (struct GNUNET_CLIENT_Connection *h,
+                              int do_ignore);
+
+
+/**
  * Destroy connection with the service.  This will automatically
  * cancel any pending "receive" request (however, the handler will
  * *NOT* be called, not even with a NULL message).  Any pending

Modified: gnunet/src/include/gnunet_connection_lib.h
===================================================================
--- gnunet/src/include/gnunet_connection_lib.h  2009-11-15 16:49:39 UTC (rev 
9516)
+++ gnunet/src/include/gnunet_connection_lib.h  2009-11-15 16:53:43 UTC (rev 
9517)
@@ -315,6 +315,17 @@
                                                         *h);
 
 
+/**
+ * Configure this connection to ignore shutdown signals.
+ *
+ * @param sock socket handle
+ * @param do_ignore GNUNET_YES to ignore, GNUNET_NO to restore default
+ */
+void
+GNUNET_CONNECTION_ignore_shutdown (struct GNUNET_CONNECTION_Handle *sock,
+                                  int do_ignore);
+
+
 #if 0                           /* keep Emacsens' auto-indent happy */
 {
 #endif





reply via email to

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