~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002110857

« back to all changes in this revision

Viewing changes to hash.h

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-06-07 17:30:03 UTC
  • mto: (16.2.1 experimental) (2.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090607173003-rg37ui3h2bbv7wl0
Tags: upstream-1.5.19
ImportĀ upstreamĀ versionĀ 1.5.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#define hash_delete(table,key,data,destroy) hash_delete_hash(table, hash_string ((unsigned char *)key, table->nelem), key, data, destroy)
39
39
 
40
40
HASH *hash_create (int nelem);
41
 
int hash_string (const unsigned char *s, int n);
 
41
unsigned int hash_string (const unsigned char *s, unsigned int n);
42
42
int hash_insert (HASH * table, const char *key, void *data, int allow_dup);
43
43
void *hash_find_hash (const HASH * table, int hash, const char *key);
44
44
void hash_delete_hash (HASH * table, int hash, const char *key, const void *data,