/* $Id$ */
/* messaging - high level communication (send/receive messages) */
-
/* module's public interface exported to end user. */
-/* Authors: Martin Quinson */
-/* Copyright (C) 2003, 2004 Martin Quinson. */
+/* Copyright (c) 2003, 2004 Martin Quinson. 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 GRAS_MESSAGES_H
#define GRAS_MESSAGES_H
void gras_cb_unregister(gras_msgtype_t msgtype,
gras_cb_t cb);
-gras_error_t gras_msg_send(gras_socket_t sock,
+xbt_error_t gras_msg_send(gras_socket_t sock,
gras_msgtype_t msgtype,
void *payload);
-gras_error_t gras_msg_wait(double timeout,
+xbt_error_t gras_msg_wait(double timeout,
gras_msgtype_t msgt_want,
gras_socket_t *expeditor,
void *payload);
-gras_error_t gras_msg_handle(double timeOut);
+xbt_error_t gras_msg_handle(double timeOut);
END_DECL