-/* $Id$ */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */
+/* 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 _SURF_WORKSTATION_PRIVATE_H
-#define _SURF_WORKSTATION_PRIVATE_H
-
+#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;
-typedef struct workstation {
- surf_resource_t resource; /* Any such object, added in a trace
- should start by this field!!! */
- const char *name;
- void *cpu;
- void *network_card;
-} s_workstation_t, *workstation_t;
+void __init_ws(workstation_CLM03_t ws, const char *id, int level);
-#endif /* _SURF_WORKSTATION_PRIVATE_H */
+#endif /* WS_PRIVATE_H_ */