* @file hostlist/gnunet-daemon-hostlist.c
* @brief code for bootstrapping via hostlist servers
* @author Christian Grothoff
+ *
+ * TODO:
+ * - implement -a and -e switches (send P2P messages about our hostlist URL,
+ * receive such messages and automatically update our hostlist URL config
+ * value).
*/
#include <stdlib.h>
{
if (advertising && (NULL != server))
{
- /* TODO: provide "server" to 'hostlist' module */
+ /* FIXME: provide "server" to 'hostlist' module */
}
}
struct GNUNET_SCHEDULER_Handle * sched,
char *const *args,
const char *cfgfile,
- struct GNUNET_CONFIGURATION_Handle * cfg)
+ const struct GNUNET_CONFIGURATION_Handle * cfg)
{
GNUNET_CORE_ClientEventHandler ch = NULL;
GNUNET_CORE_ClientEventHandler dh = NULL;
stats = GNUNET_STATISTICS_create (sched, "hostlist", cfg);
if (learning)
{
- // FIXME!
- // (register handler with core for hostlist ads)
+ /* FIXME (register handler with core for hostlist ads) */
}
if (bootstrapping)
{
GNUNET_SCHEDULER_add_delayed (sched,
GNUNET_YES,
GNUNET_SCHEDULER_PRIORITY_IDLE,
- GNUNET_SCHEDULER_NO_PREREQUISITE_TASK,
+ GNUNET_SCHEDULER_NO_TASK,
GNUNET_TIME_UNIT_FOREVER_REL,
&cleaning_task, NULL);
}