Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the type definition to a specific header so that we can share it with the code...
[simgrid.git] / src / xbt / dynar_private.h
diff --git a/src/xbt/dynar_private.h b/src/xbt/dynar_private.h
new file mode 100644 (file)
index 0000000..5658a52
--- /dev/null
@@ -0,0 +1,21 @@
+/* $Id$ */
+
+/* a generic DYNamic ARray implementation.                                  */
+
+/* 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. */
+
+#ifndef DYNAR_PRIVATE_H
+#define DYNAR_PRIVATE_H
+
+typedef struct xbt_dynar_s {
+  unsigned long          size;
+  unsigned long          used;
+  unsigned long          elmsize;
+  void           *data;
+  void_f_pvoid_t *free_f;
+} s_xbt_dynar_t;
+
+#endif /* DYNAR_PRIVATE_H */