diff options
Diffstat (limited to 'src/include/gnunet_client_lib.h')
-rw-r--r-- | src/include/gnunet_client_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_client_lib.h b/src/include/gnunet_client_lib.h index b2311e870..0b06d45d0 100644 --- a/src/include/gnunet_client_lib.h +++ b/src/include/gnunet_client_lib.h | |||
@@ -63,6 +63,18 @@ struct GNUNET_CLIENT_Connection *GNUNET_CLIENT_connect (struct | |||
63 | GNUNET_CONFIGURATION_Handle | 63 | GNUNET_CONFIGURATION_Handle |
64 | *cfg); | 64 | *cfg); |
65 | 65 | ||
66 | |||
67 | /** | ||
68 | * Configure this connection to ignore shutdown signals. | ||
69 | * | ||
70 | * @param h client handle | ||
71 | * @param do_ignore GNUNET_YES to ignore, GNUNET_NO to restore default | ||
72 | */ | ||
73 | void | ||
74 | GNUNET_CLIENT_ignore_shutdown (struct GNUNET_CLIENT_Connection *h, | ||
75 | int do_ignore); | ||
76 | |||
77 | |||
66 | /** | 78 | /** |
67 | * Destroy connection with the service. This will automatically | 79 | * Destroy connection with the service. This will automatically |
68 | * cancel any pending "receive" request (however, the handler will | 80 | * cancel any pending "receive" request (however, the handler will |