-/* Copyright (c) 2008, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2008-2014. The SimGrid Team.
* All rights reserved. */
/* 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. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#ifndef MSG_MAILBOX_H
#define MSG_MAILBOX_H
#include "xbt/fifo.h"
#include "simgrid/simix.h"
-#include "msg/datatypes.h"
+#include "simgrid/msg.h"
SG_BEGIN_DECL()
*/
void MSG_mailbox_free(void *mailbox);
-/* \brief MSG_set_rate_before_read - set a rate before receiving a task
- *
- * \param mailbox The mailbox to release.
- * \param rate The new rate
- */
-double MSG_set_rate_before_read(msg_mailbox_t mailbox, double rate);
-
/* \brief MSG_mailbox_get_by_alias - get a mailbox from its alias.
*
* The function MSG_mailbox_get_by_alias returns the mailbox associated with
* \param alias The alias of the mailbox to modify.
*
*/
-void MSG_mailbox_set_async(const char *alias);
+XBT_PUBLIC(void) MSG_mailbox_set_async(const char *alias);
/*! \brief MSG_mailbox_get_head - get the task at the head of a mailbox.
*