diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-02 20:54:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-02 20:54:51 +0000 |
commit | ff2354195a8ed1ea2e9c781d7c4421742b0df4d0 (patch) | |
tree | 2cb08c47004138f88f49850b0af2e9185acb4e82 /src/include/gnunet_service_lib.h | |
parent | 75b02f33ec88d5b2db25d31a1b6fffc82290f38c (diff) |
adding TCP_STEALTH support to TCP plugin
Diffstat (limited to 'src/include/gnunet_service_lib.h')
-rw-r--r-- | src/include/gnunet_service_lib.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_service_lib.h b/src/include/gnunet_service_lib.h index 11dcff35e8..6a0ae0add2 100644 --- a/src/include/gnunet_service_lib.h +++ b/src/include/gnunet_service_lib.h @@ -159,6 +159,17 @@ GNUNET_SERVICE_get_server (struct GNUNET_SERVICE_Context *ctx); /** + * Get the NULL-terminated array of listen sockets for this service. + * + * @param ctx service context to query + * @return NULL if there are no listen sockets, otherwise NULL-terminated + * array of listen sockets. + */ +struct GNUNET_NETWORK_Handle ** +GNUNET_SERVICE_get_listen_sockets (struct GNUNET_SERVICE_Context *ctx); + + +/** * Stop a service that was started with #GNUNET_SERVICE_start. * * @param sctx the service context returned from the start function |