diff options
author | Gabor X Toth <*@tg-x.net> | 2013-10-10 18:08:53 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-10-10 18:08:53 +0000 |
commit | 1b5d4aba9d8bbcb62c93f96782e3567f6f79d0cb (patch) | |
tree | 3cd28bfee831af0417c2dcbb543c03481517ad00 /src/include/gnunet_psyc_service.h | |
parent | 67a8e21eedb6d35fec76841d4a1a6b4b41b37879 (diff) | |
download | gnunet-1b5d4aba9d8bbcb62c93f96782e3567f6f79d0cb.tar.gz gnunet-1b5d4aba9d8bbcb62c93f96782e3567f6f79d0cb.zip |
PSYC: master msg transmission
Diffstat (limited to 'src/include/gnunet_psyc_service.h')
-rw-r--r-- | src/include/gnunet_psyc_service.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h index 7ac40a4c5..758b5e3d1 100644 --- a/src/include/gnunet_psyc_service.h +++ b/src/include/gnunet_psyc_service.h | |||
@@ -207,8 +207,8 @@ struct GNUNET_PSYC_MessageMethod | |||
207 | uint32_t flags GNUNET_PACKED; | 207 | uint32_t flags GNUNET_PACKED; |
208 | 208 | ||
209 | /** | 209 | /** |
210 | * Sending slave's public key. NULL if the message is from the master, or when | 210 | * Sending slave's public key. |
211 | * transmitting a message. | 211 | * NULL if the message is from the master, or when transmitting a message. |
212 | */ | 212 | */ |
213 | struct GNUNET_CRYPTO_EddsaPublicKey slave_key; | 213 | struct GNUNET_CRYPTO_EddsaPublicKey slave_key; |
214 | 214 | ||
@@ -264,7 +264,7 @@ enum GNUNET_PSYC_DataStatus | |||
264 | struct GNUNET_PSYC_MessageData | 264 | struct GNUNET_PSYC_MessageData |
265 | { | 265 | { |
266 | /** | 266 | /** |
267 | * Type: GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_MODIFIER | 267 | * Type: GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_DATA |
268 | */ | 268 | */ |
269 | struct GNUNET_MessageHeader header; | 269 | struct GNUNET_MessageHeader header; |
270 | 270 | ||
@@ -367,7 +367,7 @@ typedef int | |||
367 | void | 367 | void |
368 | GNUNET_PSYC_join_decision (struct GNUNET_PSYC_JoinHandle *jh, | 368 | GNUNET_PSYC_join_decision (struct GNUNET_PSYC_JoinHandle *jh, |
369 | int is_admitted, | 369 | int is_admitted, |
370 | unsigned int relay_count, | 370 | uint32_t relay_count, |
371 | const struct GNUNET_PeerIdentity *relays, | 371 | const struct GNUNET_PeerIdentity *relays, |
372 | const char *method_name, | 372 | const char *method_name, |
373 | const struct GNUNET_ENV_Environment *env, | 373 | const struct GNUNET_ENV_Environment *env, |
@@ -582,7 +582,7 @@ GNUNET_PSYC_slave_join (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
582 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, | 582 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
583 | const struct GNUNET_CRYPTO_EddsaPrivateKey *slave_key, | 583 | const struct GNUNET_CRYPTO_EddsaPrivateKey *slave_key, |
584 | const struct GNUNET_PeerIdentity *origin, | 584 | const struct GNUNET_PeerIdentity *origin, |
585 | size_t relay_count, | 585 | uint32_t relay_count, |
586 | const struct GNUNET_PeerIdentity *relays, | 586 | const struct GNUNET_PeerIdentity *relays, |
587 | GNUNET_PSYC_Method method, | 587 | GNUNET_PSYC_Method method, |
588 | GNUNET_PSYC_JoinCallback join_cb, | 588 | GNUNET_PSYC_JoinCallback join_cb, |
@@ -591,7 +591,7 @@ GNUNET_PSYC_slave_join (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
591 | const char *method_name, | 591 | const char *method_name, |
592 | const struct GNUNET_ENV_Environment *env, | 592 | const struct GNUNET_ENV_Environment *env, |
593 | const void *data, | 593 | const void *data, |
594 | size_t data_size); | 594 | uint16_t data_size); |
595 | 595 | ||
596 | 596 | ||
597 | /** | 597 | /** |