diff options
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist_client.h')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist_client.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist_client.h b/src/hostlist/gnunet-daemon-hostlist_client.h index 15e913adb..dd80d4a48 100644 --- a/src/hostlist/gnunet-daemon-hostlist_client.h +++ b/src/hostlist/gnunet-daemon-hostlist_client.h | |||
@@ -31,6 +31,15 @@ | |||
31 | 31 | ||
32 | 32 | ||
33 | /** | 33 | /** |
34 | * Function that handles an advertised URI. | ||
35 | * | ||
36 | * @param uri 0-termianted URI of a hostlist | ||
37 | */ | ||
38 | typedef void | ||
39 | (*GNUNET_HOSTLIST_UriHandler)(const char *uri); | ||
40 | |||
41 | |||
42 | /** | ||
34 | * Start downloading hostlists from hostlist servers as necessary. | 43 | * Start downloading hostlists from hostlist servers as necessary. |
35 | * | 44 | * |
36 | * @param c configuration to use | 45 | * @param c configuration to use |
@@ -44,9 +53,9 @@ | |||
44 | int | 53 | int |
45 | GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c, | 54 | GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c, |
46 | struct GNUNET_STATISTICS_Handle *st, | 55 | struct GNUNET_STATISTICS_Handle *st, |
47 | GNUNET_CORE_ConnectEventHandler *ch, | 56 | GNUNET_CORE_ConnecTEventHandler *ch, |
48 | GNUNET_CORE_DisconnectEventHandler *dh, | 57 | GNUNET_CORE_DisconnecTEventHandler *dh, |
49 | GNUNET_CORE_MessageCallback *msgh, | 58 | GNUNET_HOSTLIST_UriHandler *msgh, |
50 | int learn); | 59 | int learn); |
51 | 60 | ||
52 | 61 | ||