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 | |
parent | 43d497d7c4ebb6efae37ae4bb2f812a68aa64a32 (diff) | |
download | gnunet-1a0ffe2288b97b47a5b2bfbda2f9438680429422.tar.gz gnunet-1a0ffe2288b97b47a5b2bfbda2f9438680429422.zip |
psyc: ipc messages, notify callback for modifiers, tests
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_protocols.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_psyc_service.h | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 9ca4155e8..2470b3ab1 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -2130,7 +2130,7 @@ extern "C" | |||
2130 | 2130 | ||
2131 | #define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_CANCEL 697 | 2131 | #define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_CANCEL 697 |
2132 | 2132 | ||
2133 | #define GNUNET_MESSAGE_TYPE_PSYC_TRANSMIT_ACK 698 | 2133 | #define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_ACK 698 |
2134 | 2134 | ||
2135 | 2135 | ||
2136 | #define GNUNET_MESSAGE_TYPE_PSYC_STORY_REQUEST 701 | 2136 | #define GNUNET_MESSAGE_TYPE_PSYC_STORY_REQUEST 701 |
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); |