diff options
author | Gabor X Toth <*@tg-x.net> | 2013-08-24 06:25:10 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-08-24 06:25:10 +0000 |
commit | df6facef1ea4d8dd7fe836d78473aa66270d6684 (patch) | |
tree | e1a9e4585e0f549f1c9d9217e362cc2539527dd0 /src/include/gnunet_social_service.h | |
parent | 9602e23163e6d562197b40c361a46eead3276489 (diff) | |
download | gnunet-df6facef1ea4d8dd7fe836d78473aa66270d6684.tar.gz gnunet-df6facef1ea4d8dd7fe836d78473aa66270d6684.zip |
multicast: added replay_end(), returning replay handle from join_decision(); removed admitted/effective since where not needed; social: keep_active flag instead of away
Diffstat (limited to 'src/include/gnunet_social_service.h')
-rw-r--r-- | src/include/gnunet_social_service.h | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/src/include/gnunet_social_service.h b/src/include/gnunet_social_service.h index 0421c1d75..abb749b9b 100644 --- a/src/include/gnunet_social_service.h +++ b/src/include/gnunet_social_service.h | |||
@@ -372,23 +372,12 @@ GNUNET_SOCIAL_home_announce_cancel (struct GNUNET_SOCIAL_Announcement *a); | |||
372 | * Convert our home to a place so we can access it via the place API. | 372 | * Convert our home to a place so we can access it via the place API. |
373 | * | 373 | * |
374 | * @param home Handle for the home. | 374 | * @param home Handle for the home. |
375 | * @param keep_active Keep home active after last application disconnected. | ||
375 | * @return Place handle for the same home, valid as long as @a home is valid; | 376 | * @return Place handle for the same home, valid as long as @a home is valid; |
376 | * do NOT try to GNUNET_SOCIAL_place_leave() this place, it's your home! | 377 | * do NOT try to GNUNET_SOCIAL_place_leave() this place, it's your home! |
377 | */ | 378 | */ |
378 | struct GNUNET_SOCIAL_Place * | 379 | struct GNUNET_SOCIAL_Place * |
379 | GNUNET_SOCIAL_home_get_place (struct GNUNET_SOCIAL_Home *home); | 380 | GNUNET_SOCIAL_home_get_place (struct GNUNET_SOCIAL_Home *home, int keep_active); |
380 | |||
381 | |||
382 | /** | ||
383 | * Leave a home temporarily, visitors can stay. | ||
384 | * | ||
385 | * After leaving, handling of incoming messages are left to other clients of the | ||
386 | * social service, and stops after the last client exits. | ||
387 | * | ||
388 | * @param home Home to leave temporarily (handle becomes invalid). | ||
389 | */ | ||
390 | void | ||
391 | GNUNET_SOCIAL_home_away (struct GNUNET_SOCIAL_Home *home); | ||
392 | 381 | ||
393 | 382 | ||
394 | /** | 383 | /** |
@@ -627,22 +616,10 @@ GNUNET_SOCIAL_place_get_history_cancel (struct GNUNET_SOCIAL_HistoryLesson *hist | |||
627 | * Notifies the owner of the place about leaving, and destroys the place handle. | 616 | * Notifies the owner of the place about leaving, and destroys the place handle. |
628 | * | 617 | * |
629 | * @param place Place to leave permanently. | 618 | * @param place Place to leave permanently. |
619 | * @param keep_active Keep place active after last application disconnected. | ||
630 | */ | 620 | */ |
631 | void | 621 | void |
632 | GNUNET_SOCIAL_place_leave (struct GNUNET_SOCIAL_Place *place); | 622 | GNUNET_SOCIAL_place_leave (struct GNUNET_SOCIAL_Place *place, int keep_active); |
633 | |||
634 | |||
635 | /** | ||
636 | * Leave a place temporarily. | ||
637 | * | ||
638 | * Stop following the conversation for the @a place and destroy the @a place | ||
639 | * handle. Only affects the application calling this function, other clients of | ||
640 | * the service continue receiving the messages. | ||
641 | * | ||
642 | * @param place Place to leave temporarily. | ||
643 | */ | ||
644 | void | ||
645 | GNUNET_SOCIAL_place_away (struct GNUNET_SOCIAL_Place *place); | ||
646 | 623 | ||
647 | 624 | ||
648 | #if 0 /* keep Emacsens' auto-indent happy */ | 625 | #if 0 /* keep Emacsens' auto-indent happy */ |