diff options
author | Gabor X Toth <*@tg-x.net> | 2014-01-06 00:09:43 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2014-01-06 00:09:43 +0000 |
commit | 1a0ffe2288b97b47a5b2bfbda2f9438680429422 (patch) | |
tree | 72db4cd67f06253a60bf3e2966fd0b1bf55eba5c /src/include/gnunet_psyc_service.h | |
parent | 43d497d7c4ebb6efae37ae4bb2f812a68aa64a32 (diff) | |
download | gnunet-1a0ffe2288b97b47a5b2bfbda2f9438680429422.tar.gz gnunet-1a0ffe2288b97b47a5b2bfbda2f9438680429422.zip |
psyc: ipc messages, notify callback for modifiers, tests
Diffstat (limited to 'src/include/gnunet_psyc_service.h')
-rw-r--r-- | src/include/gnunet_psyc_service.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h index eb17c9351..f843fbe1f 100644 --- a/src/include/gnunet_psyc_service.h +++ b/src/include/gnunet_psyc_service.h | |||
@@ -426,6 +426,11 @@ typedef int | |||
426 | uint16_t *data_size, | 426 | uint16_t *data_size, |
427 | void *data); | 427 | void *data); |
428 | 428 | ||
429 | typedef int | ||
430 | (*GNUNET_PSYC_MasterTransmitNotifyModifier) (void *cls, | ||
431 | uint16_t *data_size, | ||
432 | void *data, | ||
433 | uint8_t *oper); | ||
429 | 434 | ||
430 | /** | 435 | /** |
431 | * Flags for transmitting messages to a channel by the master. | 436 | * Flags for transmitting messages to a channel by the master. |
@@ -472,7 +477,7 @@ struct GNUNET_PSYC_MasterTransmitHandle; | |||
472 | struct GNUNET_PSYC_MasterTransmitHandle * | 477 | struct GNUNET_PSYC_MasterTransmitHandle * |
473 | GNUNET_PSYC_master_transmit (struct GNUNET_PSYC_Master *master, | 478 | GNUNET_PSYC_master_transmit (struct GNUNET_PSYC_Master *master, |
474 | const char *method_name, | 479 | const char *method_name, |
475 | GNUNET_PSYC_MasterTransmitNotify notify_mod, | 480 | GNUNET_PSYC_MasterTransmitNotifyModifier notify_mod, |
476 | GNUNET_PSYC_MasterTransmitNotify notify_data, | 481 | GNUNET_PSYC_MasterTransmitNotify notify_data, |
477 | void *notify_cls, | 482 | void *notify_cls, |
478 | enum GNUNET_PSYC_MasterTransmitFlags flags); | 483 | enum GNUNET_PSYC_MasterTransmitFlags flags); |