aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2014-01-06 00:09:43 +0000
committerGabor X Toth <*@tg-x.net>2014-01-06 00:09:43 +0000
commit1a0ffe2288b97b47a5b2bfbda2f9438680429422 (patch)
tree72db4cd67f06253a60bf3e2966fd0b1bf55eba5c /src/include
parent43d497d7c4ebb6efae37ae4bb2f812a68aa64a32 (diff)
downloadgnunet-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.h2
-rw-r--r--src/include/gnunet_psyc_service.h7
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
429typedef 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;
472struct GNUNET_PSYC_MasterTransmitHandle * 477struct GNUNET_PSYC_MasterTransmitHandle *
473GNUNET_PSYC_master_transmit (struct GNUNET_PSYC_Master *master, 478GNUNET_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);