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

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

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.