| Last change
                  on this file since 91 was
                  81,
                  checked in by rosiere, 18 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 |  | 
|---|
| 8 | typedef 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 |  | 
|---|
| 19 | dico_t * dico_add     (dico_t * dico, | 
|---|
| 20 | void   * key , | 
|---|
| 21 | void   * data); | 
|---|
| 22 |  | 
|---|
| 23 | dico_t * dico_del     (dico_t * dico, | 
|---|
| 24 | void   * key ); | 
|---|
| 25 |  | 
|---|
| 26 | bool     dico_present (dico_t * dico, | 
|---|
| 27 | void   * key ); | 
|---|
| 28 |  | 
|---|
| 29 | void *   dico_give    (dico_t * dico, | 
|---|
| 30 | void   * key ); | 
|---|
| 31 |  | 
|---|
| 32 | #endif //!DICO_H | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.