diff options
Diffstat (limited to 'src/include/gnunet_psyc_util_lib.h')
-rw-r--r-- | src/include/gnunet_psyc_util_lib.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/gnunet_psyc_util_lib.h b/src/include/gnunet_psyc_util_lib.h index 504476573..10cfc68d9 100644 --- a/src/include/gnunet_psyc_util_lib.h +++ b/src/include/gnunet_psyc_util_lib.h | |||
@@ -79,7 +79,7 @@ GNUNET_PSYC_message_create (const char *method_name, | |||
79 | * #GNUNET_SYSERR on parse error. | 79 | * #GNUNET_SYSERR on parse error. |
80 | */ | 80 | */ |
81 | int | 81 | int |
82 | GNUNET_PSYC_message_parse (const struct GNUNET_PSYC_Message *msg, | 82 | GNUNET_PSYC_message_parse (const struct GNUNET_PSYC_MessageHeader *msg, |
83 | const char **method_name, | 83 | const char **method_name, |
84 | struct GNUNET_ENV_Environment *env, | 84 | struct GNUNET_ENV_Environment *env, |
85 | const void **data, | 85 | const void **data, |
@@ -247,6 +247,13 @@ GNUNET_PSYC_message_header_create (const struct GNUNET_MULTICAST_MessageHeader * | |||
247 | uint32_t flags); | 247 | uint32_t flags); |
248 | 248 | ||
249 | 249 | ||
250 | /** | ||
251 | * Create a new PSYC message header from a PSYC message. | ||
252 | */ | ||
253 | struct GNUNET_PSYC_MessageHeader * | ||
254 | GNUNET_PSYC_message_header_create_from_psyc (const struct GNUNET_PSYC_Message *msg); | ||
255 | |||
256 | |||
250 | #if 0 /* keep Emacsens' auto-indent happy */ | 257 | #if 0 /* keep Emacsens' auto-indent happy */ |
251 | { | 258 | { |
252 | #endif | 259 | #endif |