diff options
author | Gabor X Toth <*@tg-x.net> | 2013-08-12 21:04:24 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-08-12 21:04:24 +0000 |
commit | a94ef1396711df72377dea56bd07f01c9de35eb1 (patch) | |
tree | e5f6e6c26e34233ee91ba2a5be20c30727a9487d /src/include/gnunet_psyc_service.h | |
parent | 0e2f8eb4285e086281700b53893b1905a52ebc2e (diff) | |
download | gnunet-a94ef1396711df72377dea56bd07f01c9de35eb1.tar.gz gnunet-a94ef1396711df72377dea56bd07f01c9de35eb1.zip |
psyc/social: slave transmit & guest talk flags
Diffstat (limited to 'src/include/gnunet_psyc_service.h')
-rw-r--r-- | src/include/gnunet_psyc_service.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h index ceb8290c2..5f48f7f34 100644 --- a/src/include/gnunet_psyc_service.h +++ b/src/include/gnunet_psyc_service.h | |||
@@ -437,6 +437,11 @@ typedef int | |||
437 | char *data); | 437 | char *data); |
438 | 438 | ||
439 | 439 | ||
440 | /** | ||
441 | * Flags for transmitting messages to the channel master by a slave. | ||
442 | */ | ||
443 | enum GNUNET_PSYC_SlaveTransmitFlags; | ||
444 | |||
440 | /** | 445 | /** |
441 | * Handle for a pending PSYC transmission operation. | 446 | * Handle for a pending PSYC transmission operation. |
442 | */ | 447 | */ |
@@ -451,6 +456,7 @@ struct GNUNET_PSYC_SlaveTransmitHandle; | |||
451 | * @param env Environment containing transient variables for the message, or NULL. | 456 | * @param env Environment containing transient variables for the message, or NULL. |
452 | * @param notify Function to call when we are allowed to transmit (to get data). | 457 | * @param notify Function to call when we are allowed to transmit (to get data). |
453 | * @param notify_cls Closure for @a notify. | 458 | * @param notify_cls Closure for @a notify. |
459 | * @param flags Flags for the message being transmitted. | ||
454 | * @return Transmission handle, NULL on error (i.e. more than one request queued). | 460 | * @return Transmission handle, NULL on error (i.e. more than one request queued). |
455 | */ | 461 | */ |
456 | struct GNUNET_PSYC_SlaveTransmitHandle * | 462 | struct GNUNET_PSYC_SlaveTransmitHandle * |
@@ -458,7 +464,8 @@ GNUNET_PSYC_slave_transmit (struct GNUNET_PSYC_Slave *slave, | |||
458 | const char *method_name, | 464 | const char *method_name, |
459 | const struct GNUNET_ENV_Environment *env, | 465 | const struct GNUNET_ENV_Environment *env, |
460 | GNUNET_PSYC_SlaveReadyNotify notify, | 466 | GNUNET_PSYC_SlaveReadyNotify notify, |
461 | void *notify_cls); | 467 | void *notify_cls, |
468 | enum GNUNET_PSYC_SlaveTransmitFlags flags); | ||
462 | 469 | ||
463 | 470 | ||
464 | /** | 471 | /** |