source: trunk/Softwares/Basic_test/src/c/include/dico.h @ 88

Last change on this file since 88 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 616 bytes
Line 
1#ifndef DICO_H
2#define DICO_H
3
4#include "bool.h"
5
6//=====[ dico_t ]==========================================
7
8typedef struct dico_st
9{
10  void           * key;
11  void           * data;
12 
13  struct dico_st * previous;
14  struct dico_st * next;
15} dico_t;
16
17//=====[ function ]========================================
18
19dico_t * dico_add     (dico_t * dico, 
20                       void   * key ,
21                       void   * data);
22
23dico_t * dico_del     (dico_t * dico, 
24                       void   * key );
25
26bool     dico_present (dico_t * dico, 
27                       void   * key );
28
29void *   dico_give    (dico_t * dico, 
30                       void   * key );
31
32#endif //!DICO_H
Note: See TracBrowser for help on using the repository browser.