aboutsummaryrefslogtreecommitdiff
path: root/src/social/gnunet-social.c
diff options
context:
space:
mode:
authorCarlo von lynX <lynX@time.to.get.psyced.org>2016-05-13 07:33:16 +0000
committerCarlo von lynX <lynX@time.to.get.psyced.org>2016-05-13 07:33:16 +0000
commiteeea5809f752477f50fc159f5c2adbdeb29d0521 (patch)
tree2c3b318bf350df83f35baf7d6413d7fefe605f2a /src/social/gnunet-social.c
parent9f4d6acdbb43a43b648568dee596320601d04db4 (diff)
downloadgnunet-eeea5809f752477f50fc159f5c2adbdeb29d0521.tar.gz
gnunet-eeea5809f752477f50fc159f5c2adbdeb29d0521.zip
social: minor fixes
Diffstat (limited to 'src/social/gnunet-social.c')
-rw-r--r--src/social/gnunet-social.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/social/gnunet-social.c b/src/social/gnunet-social.c
index bb6f1e694..2d6990869 100644
--- a/src/social/gnunet-social.c
+++ b/src/social/gnunet-social.c
@@ -227,7 +227,7 @@ schedule_fail (void *cls)
227 227
228 228
229/** 229/**
230 * Schedule exit with succes result. 230 * Schedule exit with success result.
231 */ 231 */
232static void 232static void
233exit_success () 233exit_success ()
@@ -305,6 +305,7 @@ static void
305guest_leave () 305guest_leave ()
306{ 306{
307 struct GNUNET_PSYC_Environment *env = GNUNET_PSYC_env_create (); 307 struct GNUNET_PSYC_Environment *env = GNUNET_PSYC_env_create ();
308 // FIXME: wrong use of vars
308 GNUNET_PSYC_env_add (env, GNUNET_PSYC_OP_SET, 309 GNUNET_PSYC_env_add (env, GNUNET_PSYC_OP_SET,
309 "_message", DATA2ARG ("Leaving.")); 310 "_message", DATA2ARG ("Leaving."));
310 GNUNET_SOCIAL_guest_leave (gst, env, guest_left, NULL); 311 GNUNET_SOCIAL_guest_leave (gst, env, guest_left, NULL);
@@ -1304,6 +1305,11 @@ main (int argc, char *const *argv)
1304 "gnunet-social --host-enter --ego <NAME or PUBKEY> [--follow] [--welcome | --deny]\n" 1305 "gnunet-social --host-enter --ego <NAME or PUBKEY> [--follow] [--welcome | --deny]\n"
1305 "gnunet-social --host-reconnect --place <PUBKEY> [--follow] [--welcome | --deny]\n" 1306 "gnunet-social --host-reconnect --place <PUBKEY> [--follow] [--welcome | --deny]\n"
1306 "gnunet-social --host-leave --place <PUBKEY>\n" 1307 "gnunet-social --host-leave --place <PUBKEY>\n"
1308 "gnunet-social --host-assign --place <PUBKEY> --name <NAME> --data <VALUE>\n"
1309// FIXME: some state ops not implemented yet (no hurry)
1310// "gnunet-social --host-augment --place <PUBKEY> --name <NAME> --data <VALUE>\n"
1311// "gnunet-social --host-diminish --place <PUBKEY> --name <NAME> --data <VALUE>\n"
1312// "gnunet-social --host-set --place <PUBKEY> --name <NAME> --data <VALUE>\n"
1307 "gnunet-social --host-announce --place <PUBKEY> --method <METHOD_NAME> --data <MESSAGE_BODY>\n" 1313 "gnunet-social --host-announce --place <PUBKEY> --method <METHOD_NAME> --data <MESSAGE_BODY>\n"
1308 "\n" 1314 "\n"
1309 "gnunet-social --guest-enter --place <PUBKEY> --peer <PEERID> --ego <NAME or PUBKEY> [--follow]\n" 1315 "gnunet-social --guest-enter --place <PUBKEY> --peer <PEERID> --ego <NAME or PUBKEY> [--follow]\n"
@@ -1315,8 +1321,6 @@ main (int argc, char *const *argv)
1315 "gnunet-social --history-replay --place <PUBKEY> --start <MSGID> --until <MSGID> [--method <METHOD_PREFIX>]\n" 1321 "gnunet-social --history-replay --place <PUBKEY> --start <MSGID> --until <MSGID> [--method <METHOD_PREFIX>]\n"
1316 "gnunet-social --history-replay-latest --place <PUBKEY> --limit <MSG_LIMIT> [--method <METHOD_PREFIX>]\n" 1322 "gnunet-social --history-replay-latest --place <PUBKEY> --limit <MSG_LIMIT> [--method <METHOD_PREFIX>]\n"
1317 "\n" 1323 "\n"
1318 "gnunet-social --set --place <PUBKEY> --name <NAME> --data <VALUE>\n"
1319 "\n"
1320 "gnunet-social --look-at --place <PUBKEY> --name <FULL_NAME>\n" 1324 "gnunet-social --look-at --place <PUBKEY> --name <FULL_NAME>\n"
1321 "gnunet-social --look-for --place <PUBKEY> --name <NAME_PREFIX>\n"; 1325 "gnunet-social --look-for --place <PUBKEY> --name <NAME_PREFIX>\n";
1322 1326