X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e39d8fa35a19c03fa463b79e440279656e36f58b..02a13cd46eff988e8fad0711433787059f72b319:/src/surf/storage_private.h diff --git a/src/surf/storage_private.h b/src/surf/storage_private.h index 62c40a8a7b..30792454a0 100644 --- a/src/surf/storage_private.h +++ b/src/surf/storage_private.h @@ -1,9 +1,8 @@ -/* - * storage_private.h - * - * Created on: 2 mars 2012 - * Author: navarro - */ +/* 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 STORAGE_PRIVATE_H_ #define STORAGE_PRIVATE_H_ @@ -41,10 +40,11 @@ typedef struct storage { xbt_dict_t content; /* char * -> s_surf_stat_t */ unsigned long size; unsigned long used_size; + xbt_dynar_t write_actions; } s_storage_t, *storage_t; typedef enum { - READ, WRITE, STAT, OPEN, CLOSE + READ=0, WRITE, STAT, OPEN, CLOSE, UNLINK, LS } e_surf_action_storage_type_t; typedef struct surf_action_storage {