aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/gnunet-daemon-hostlist.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-06-13 06:19:33 +0000
committerChristian Grothoff <christian@grothoff.org>2009-06-13 06:19:33 +0000
commit184240c9c28f784bbdea72742e0a3ce3e3ee4652 (patch)
tree06a3e2dabf45fe1f91c8d9dad591632e1b6d888b /src/hostlist/gnunet-daemon-hostlist.c
parent256e783449308d848bb687f5e9e79fde1c5fe03d (diff)
downloadgnunet-184240c9c28f784bbdea72742e0a3ce3e3ee4652.tar.gz
gnunet-184240c9c28f784bbdea72742e0a3ce3e3ee4652.zip
use external select
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c
index da2553238..e2e64a717 100644
--- a/src/hostlist/gnunet-daemon-hostlist.c
+++ b/src/hostlist/gnunet-daemon-hostlist.c
@@ -69,13 +69,17 @@ static struct GNUNET_STATISTICS_Handle *stats;
69 * gnunet-daemon-hostlist command line options. 69 * gnunet-daemon-hostlist command line options.
70 */ 70 */
71static struct GNUNET_GETOPT_CommandLineOption options[] = { 71static struct GNUNET_GETOPT_CommandLineOption options[] = {
72 { 'a', "advertise", NULL, gettext_noop ("advertise our hostlist to other peers"), 72 { 'a', "advertise", NULL,
73 gettext_noop ("advertise our hostlist to other peers"),
73 GNUNET_NO, &GNUNET_GETOPT_set_one, &advertising }, 74 GNUNET_NO, &GNUNET_GETOPT_set_one, &advertising },
74 { 'b', "bootstrap", NULL, gettext_noop ("bootstrap using hostlists (it is highly recommended that you always use this option)"), 75 { 'b', "bootstrap", NULL,
76 gettext_noop ("bootstrap using hostlists (it is highly recommended that you always use this option)"),
75 GNUNET_NO, &GNUNET_GETOPT_set_one, &bootstrapping }, 77 GNUNET_NO, &GNUNET_GETOPT_set_one, &bootstrapping },
76 { 'e', "enable-learning", NULL, gettext_noop ("enable learning about hostlist servers from other peers"), 78 { 'e', "enable-learning", NULL,
79 gettext_noop ("enable learning about hostlist servers from other peers"),
77 GNUNET_NO, &GNUNET_GETOPT_set_one, &learning}, 80 GNUNET_NO, &GNUNET_GETOPT_set_one, &learning},
78 { 'p', "provide-hostlist", NULL, gettext_noop ("provide a hostlist server"), 81 { 'p', "provide-hostlist", NULL,
82 gettext_noop ("provide a hostlist server"),
79 GNUNET_NO, &GNUNET_GETOPT_set_one, &provide_hostlist}, 83 GNUNET_NO, &GNUNET_GETOPT_set_one, &provide_hostlist},
80 GNUNET_GETOPT_OPTION_END 84 GNUNET_GETOPT_OPTION_END
81}; 85};