diff options
Diffstat (limited to 'libcmix/cmix.h')
| -rw-r--r-- | libcmix/cmix.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/libcmix/cmix.h b/libcmix/cmix.h index 5fe2e13..517f067 100644 --- a/libcmix/cmix.h +++ b/libcmix/cmix.h @@ -1,11 +1,11 @@ +#ifdef __cplusplus +extern "C" { +#endif + /** * \file */ -struct message { - char buffer[2048/8]; -}; - /** * \struct * \brief The CMixBuffer struct is the temporary storage of messages in each Node. @@ -48,4 +48,8 @@ enum cmix_error get_message(char* message, struct CMixBuffer b, unsigned int ind * \param[in] index The index into the buffer * \return index_out_of_range if \p index is greater than or equal to \p b.nr_messages , otherwise no_error. */ -enum cmix_error set_message(char const* message, struct CMixBuffer b, unsigned int index);
\ No newline at end of file +enum cmix_error set_message(char const* message, struct CMixBuffer b, unsigned int index); + +#ifdef __cplusplus +} // extern "C" +#endif |
