Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a convenient dynar function to sort the dynar using the Dutch national flag techn...
[simgrid.git] / src / msg / msg_mailbox.h
index 5ec804bf0a4d1eb4167ed6ba7ac4e7facfd66eb5..cdfe0e6ab0ce2e3bee1f1db7ff8e964d12c3b2aa 100644 (file)
@@ -4,8 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
   * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef SMX_MAILBOX_H
-#define SMX_MAILBOX_H
+#ifndef MSG_MAILBOX_H
+#define MSG_MAILBOX_H
 
 #include "xbt/fifo.h"
 #include "simix/simix.h"
@@ -27,6 +27,8 @@ SG_BEGIN_DECL()
 XBT_PUBLIC(msg_mailbox_t)
     MSG_mailbox_new(const char *alias);
 
+void MSG_mailbox_free(void *mailbox);
+
 /* \brief MSG_mailbox_free - release a mailbox from the memory.
  *
  * The function MSG_mailbox_free release a mailbox from the memory but does
@@ -111,4 +113,4 @@ XBT_PUBLIC(msg_mailbox_t)
 #endif
 
 SG_END_DECL()
-#endif                          /* !SMX_MAILBOX_H */
+#endif                          /* !MSG_MAILBOX_H */