const struct 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
GNUNET_CLIENT_disconnect (struct GNUNET_CLIENT_Connection *sock,
int finish_pending_write);
+
/**
* Type of a function to call when we receive a message
* from the service.
const struct GNUNET_MessageHeader
* msg);
+
/**
* Type of a function to call when we have finished shutting
* down a service, or failed.
*/
typedef void (*GNUNET_CLIENT_ShutdownTask) (void *cls, int reason);
+
/**
* Read from the service.
*
/**
* Cancel a request for notification.
- *
+ *
* @param th handle from the original request.
*/
void
* if the caller does not care about temporary connection errors,
* for example because the protocol is stateless
* @param rn function to call with the response
- * @param rn_cls closure for rn
+ * @param rn_cls closure for rn
* @return GNUNET_OK on success, GNUNET_SYSERR if a request
* is already pending
*/