A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model-checker : display backtrace for busy fragments in mmalloc_compare_heap
[simgrid.git]
/
include
/
xbt
/
peer.h
diff --git
a/include/xbt/peer.h
b/include/xbt/peer.h
index
b9b8425
..
a04d9c0
100644
(file)
--- a/
include/xbt/peer.h
+++ b/
include/xbt/peer.h
@@
-1,10
+1,7
@@
-/* $Id$ */
-
/* peer.h - peer (remote processes) management functions */
/* peer.h - peer (remote processes) management functions */
-/* Copyright (c) 2006 Arnaud Legrand. */
-/* Copyright (c) 2006 Martin Quinson. */
-/* All rights reserved. */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
/* 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. */
@@
-16,9
+13,9
@@
SG_BEGIN_DECL()
SG_BEGIN_DECL()
-typedef struct {
-
char *name;
-
int port;
+typedef struct {
+ char *name;
+ int port;
} s_xbt_peer_t, *xbt_peer_t;
XBT_PUBLIC(xbt_peer_t) xbt_peer_new(const char *name, int port);
} s_xbt_peer_t, *xbt_peer_t;
XBT_PUBLIC(xbt_peer_t) xbt_peer_new(const char *name, int port);
@@
-28,6
+25,4
@@
XBT_PUBLIC(void) xbt_peer_free(xbt_peer_t peer);
XBT_PUBLIC(void) xbt_peer_free_voidp(void *d);
SG_END_DECL()
XBT_PUBLIC(void) xbt_peer_free_voidp(void *d);
SG_END_DECL()
-
-
-#endif /* XBT_PEER_H */
+#endif /* XBT_PEER_H */