aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/gnunet-daemon-hostlist_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist_client.h')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist_client.h15
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 */
38typedef 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 @@
44int 53int
45GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c, 54GNUNET_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