/[eliot]/eliot/dic/hashtable.h
ViewVC logotype

Diff of /eliot/dic/hashtable.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by afrab, Thu Apr 8 09:43:06 2004 UTC revision 1.2 by afrab, Thu May 5 23:45:04 2005 UTC
# Line 1  Line 1 
1  /* Eliot                                                                     */  /* Eliot                                                                     */
2  /* Copyright (C) 1999  antoine.fraboulet                                     */  /* Copyright (C) 1999  Antoine Fraboulet                                     */
 /* antoine.fraboulet@free.fr                                                 */  
3  /*                                                                           */  /*                                                                           */
4  /* This program is free software; you can redistribute it and/or modify      */  /* This file is part of Eliot.                                               */
5    /*                                                                           */
6    /* Eliot is free software; you can redistribute it and/or modify             */
7  /* it under the terms of the GNU General Public License as published by      */  /* it under the terms of the GNU General Public License as published by      */
8  /* the Free Software Foundation; either version 2 of the License, or         */  /* the Free Software Foundation; either version 2 of the License, or         */
9  /* (at your option) any later version.                                       */  /* (at your option) any later version.                                       */
10  /*                                                                           */  /*                                                                           */
11  /* This program is distributed in the hope that it will be useful,           */  /* Elit is distributed in the hope that it will be useful,                   */
12  /* but WITHOUT ANY WARRANTY; without even the implied warranty of            */  /* but WITHOUT ANY WARRANTY; without even the implied warranty of            */
13  /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             */  /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             */
14  /* GNU General Public License for more details.                              */  /* GNU General Public License for more details.                              */
# Line 16  Line 17 
17  /* along with this program; if not, write to the Free Software               */  /* along with this program; if not, write to the Free Software               */
18  /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */  /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
19    
20  /*      $Id$     */  /*
21     * $Id$  
22     */
23    
24    /**
25     *  \file   hashtable.h
26     *  \brief  Hashtable type
27     *  \author Antoine Fraboulet
28     *  \date   1999
29     */
30    
31  #ifndef _HASHTABLE_H  #ifndef _HASHTABLE_H
32  #define _HASHTABLE_H  #define _HASHTABLE_H
33    #if defined(__cplusplus)
34    extern "C"
35      {
36    #endif
37    
38  typedef struct _Hash_table* Hash_table;  typedef struct _Hash_table* Hash_table;
39    
# Line 30  void*      hash_find(Hash_table,void* ke Line 44  void*      hash_find(Hash_table,void* ke
44  int        hash_add (Hash_table,void* key,unsigned keysize,  int        hash_add (Hash_table,void* key,unsigned keysize,
45                       void* value,unsigned valuesize);                       void* value,unsigned valuesize);
46    
47  #endif  #if defined(__cplusplus)
48      }
49    #endif
50    #endif /* _HASHTABLE_H_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26