diff options
author | Gabor X Toth <*@tg-x.net> | 2016-01-06 12:28:47 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2016-01-06 12:28:47 +0000 |
commit | 80d2de6cdc4d253c7fbc6a4bc067d856aab9cca9 (patch) | |
tree | 86e33af618c53b82afd0cb4855d7da595fcd5acd /src/include/gnunet_psyc_service.h | |
parent | 7d1dfe26d99376a341bb150eb89ba717bb883077 (diff) | |
download | gnunet-80d2de6cdc4d253c7fbc6a4bc067d856aab9cca9.tar.gz gnunet-80d2de6cdc4d253c7fbc6a4bc067d856aab9cca9.zip |
psyc/social: local join flag; social service: leave place, save _file
Diffstat (limited to 'src/include/gnunet_psyc_service.h')
-rw-r--r-- | src/include/gnunet_psyc_service.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h index 80404f837..2bbe8cdd6 100644 --- a/src/include/gnunet_psyc_service.h +++ b/src/include/gnunet_psyc_service.h | |||
@@ -887,6 +887,19 @@ typedef void | |||
887 | int is_admitted, | 887 | int is_admitted, |
888 | const struct GNUNET_PSYC_Message *join_msg); | 888 | const struct GNUNET_PSYC_Message *join_msg); |
889 | 889 | ||
890 | /** | ||
891 | * Flags for GNUNET_PSYC_slave_join() | ||
892 | */ | ||
893 | enum GNUNET_PSYC_SlaveJoinFlags | ||
894 | { | ||
895 | GNUNET_PSYC_SLAVE_JOIN_NONE = 0, | ||
896 | |||
897 | /** | ||
898 | * Local join for history access, no network connection is established. | ||
899 | */ | ||
900 | GNUNET_PSYC_SLAVE_JOIN_LOCAL = 1, | ||
901 | }; | ||
902 | |||
890 | 903 | ||
891 | /** | 904 | /** |
892 | * Join a PSYC channel. | 905 | * Join a PSYC channel. |
@@ -926,6 +939,7 @@ struct GNUNET_PSYC_Slave * | |||
926 | GNUNET_PSYC_slave_join (const struct GNUNET_CONFIGURATION_Handle *cfg, | 939 | GNUNET_PSYC_slave_join (const struct GNUNET_CONFIGURATION_Handle *cfg, |
927 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, | 940 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
928 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *slave_key, | 941 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *slave_key, |
942 | enum GNUNET_PSYC_SlaveJoinFlags flags, | ||
929 | const struct GNUNET_PeerIdentity *origin, | 943 | const struct GNUNET_PeerIdentity *origin, |
930 | uint32_t relay_count, | 944 | uint32_t relay_count, |
931 | const struct GNUNET_PeerIdentity *relays, | 945 | const struct GNUNET_PeerIdentity *relays, |