Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do connect all log channel manually to parent using XBT_LOG_CONNECT() too, so that...
[simgrid.git] / src / xbt / dynar_private.h
1 /* $Id$ */
2
3 /* a generic DYNamic ARray implementation.                                  */
4
5 /* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
6
7 /* This program is free software; you can redistribute it and/or modify it
8  * under the terms of the license (GNU LGPL) which comes with this package. */
9
10 #ifndef DYNAR_PRIVATE_H
11 #define DYNAR_PRIVATE_H
12
13 #include "xbt/synchro.h"
14 typedef struct xbt_dynar_s {
15   unsigned long          size;
16   unsigned long          used;
17   unsigned long          elmsize;
18   void           *data;
19   void_f_pvoid_t free_f;
20   xbt_mutex_t    mutex;
21 } s_xbt_dynar_t;
22
23 #endif /* DYNAR_PRIVATE_H */