Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add workstation_private.h
authoralebre <adrien.lebre@inria.fr>
Thu, 14 Feb 2013 12:53:00 +0000 (13:53 +0100)
committeralebre <adrien.lebre@inria.fr>
Thu, 14 Feb 2013 12:53:00 +0000 (13:53 +0100)
src/surf/workstation_private.h [new file with mode: 0644]

diff --git a/src/surf/workstation_private.h b/src/surf/workstation_private.h
new file mode 100644 (file)
index 0000000..75043ca
--- /dev/null
@@ -0,0 +1,18 @@
+/* Copyright (c) 2009, 2013. 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. */
+
+#ifndef WS_PRIVATE_H_
+#define WS_PRIVATE_H_
+#include "surf_private.h"
+typedef struct workstation_CLM03 {
+  s_surf_resource_t generic_resource;   /* Must remain first to add this to a trace */
+  void *net_elm;
+  xbt_dynar_t storage;
+} s_workstation_CLM03_t, *workstation_CLM03_t;
+
+void __init_ws(workstation_CLM03_t ws,  const char *id, int level);
+
+#endif /* WS_PRIVATE_H_ */