Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
uniformize gras_os_sleep prototype (seconds are double everywhere else, avoid roundin...
[simgrid.git] / include / amok / base.h
index e91010a..033fe87 100644 (file)
@@ -2,11 +2,10 @@
 
 /* amok_base - things needed in amok, but too small to constitute a module  */
 
-/* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2003, 2004 the OURAGAN project.                            */
+/* 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 AMOK_BASE_H
 #define AMOK_BASE_H
@@ -28,9 +27,9 @@ typedef struct {
   unsigned int code;
 } s_amok_remoterr_t,*amok_remoterr_t;
 
-amok_remoterr_t amok_remoterr_new(gras_error_t errcode, 
+amok_remoterr_t amok_remoterr_new(xbt_error_t errcode, 
                                  const char* format, ...);
-amok_remoterr_t amok_remoterr_new_va(gras_error_t param_errcode, 
+amok_remoterr_t amok_remoterr_new_va(xbt_error_t param_errcode, 
                                     const char* format,va_list ap);
 void amok_remoterr_free(amok_remoterr_t *err);
 
@@ -62,7 +61,7 @@ typedef struct {
  */
 void
 amok_repport_error (gras_socket_t sock, gras_msgtype_t msgtype,
-                   gras_error_t errcode, const char* format,...);
+                   xbt_error_t errcode, const char* format,...);
 
 
 void amok_base_init(void);