aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet_dht_profiler.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
commit5a7cef0202631204485cbcb1e36671e4321a936f (patch)
treeff3d10ac71f9284f18be7c33939f3438071e15c4 /src/dht/gnunet_dht_profiler.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
downloadgnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz
gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/dht/gnunet_dht_profiler.c')
-rw-r--r--src/dht/gnunet_dht_profiler.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dht/gnunet_dht_profiler.c b/src/dht/gnunet_dht_profiler.c
index f65141640..a8807bea8 100644
--- a/src/dht/gnunet_dht_profiler.c
+++ b/src/dht/gnunet_dht_profiler.c
@@ -1182,49 +1182,49 @@ main (int argc, char *const *argv)
1182 int rc; 1182 int rc;
1183 1183
1184 struct GNUNET_GETOPT_CommandLineOption options[] = { 1184 struct GNUNET_GETOPT_CommandLineOption options[] = {
1185 GNUNET_GETOPT_OPTION_SET_UINT ('n', 1185 GNUNET_GETOPT_option_uint ('n',
1186 "peers", 1186 "peers",
1187 "COUNT", 1187 "COUNT",
1188 gettext_noop ("number of peers to start"), 1188 gettext_noop ("number of peers to start"),
1189 &num_peers), 1189 &num_peers),
1190 1190
1191 GNUNET_GETOPT_OPTION_SET_UINT ('s', 1191 GNUNET_GETOPT_option_uint ('s',
1192 "searches", 1192 "searches",
1193 "COUNT", 1193 "COUNT",
1194 gettext_noop ("maximum number of times we try to search for successor circle formation (0 for R5N)"), 1194 gettext_noop ("maximum number of times we try to search for successor circle formation (0 for R5N)"),
1195 &max_searches), 1195 &max_searches),
1196 1196
1197 GNUNET_GETOPT_OPTION_STRING ('H', 1197 GNUNET_GETOPT_option_string ('H',
1198 "hosts", 1198 "hosts",
1199 "FILENAME", 1199 "FILENAME",
1200 gettext_noop ("name of the file with the login information for the testbed"), 1200 gettext_noop ("name of the file with the login information for the testbed"),
1201 &hosts_file), 1201 &hosts_file),
1202 1202
1203 GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('D', 1203 GNUNET_GETOPT_option_relative_time ('D',
1204 "delay", 1204 "delay",
1205 "DELAY", 1205 "DELAY",
1206 gettext_noop ("delay between rounds for collecting statistics (default: 30 sec)"), 1206 gettext_noop ("delay between rounds for collecting statistics (default: 30 sec)"),
1207 &delay_stats), 1207 &delay_stats),
1208 1208
1209 GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('P', 1209 GNUNET_GETOPT_option_relative_time ('P',
1210 "PUT-delay", 1210 "PUT-delay",
1211 "DELAY", 1211 "DELAY",
1212 gettext_noop ("delay to start doing PUTs (default: 1 sec)"), 1212 gettext_noop ("delay to start doing PUTs (default: 1 sec)"),
1213 &delay_put), 1213 &delay_put),
1214 1214
1215 GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('G', 1215 GNUNET_GETOPT_option_relative_time ('G',
1216 "GET-delay", 1216 "GET-delay",
1217 "DELAY", 1217 "DELAY",
1218 gettext_noop ("delay to start doing GETs (default: 5 min)"), 1218 gettext_noop ("delay to start doing GETs (default: 5 min)"),
1219 &delay_get), 1219 &delay_get),
1220 GNUNET_GETOPT_OPTION_SET_UINT ('r', 1220 GNUNET_GETOPT_option_uint ('r',
1221 "replication", 1221 "replication",
1222 "DEGREE", 1222 "DEGREE",
1223 gettext_noop ("replication degree for DHT PUTs"), 1223 gettext_noop ("replication degree for DHT PUTs"),
1224 &replication), 1224 &replication),
1225 1225
1226 1226
1227 GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('t', 1227 GNUNET_GETOPT_option_relative_time ('t',
1228 "timeout", 1228 "timeout",
1229 "TIMEOUT", 1229 "TIMEOUT",
1230 gettext_noop ("timeout for DHT PUT and GET requests (default: 1 min)"), 1230 gettext_noop ("timeout for DHT PUT and GET requests (default: 1 min)"),