~ubuntu-branches/ubuntu/precise/super/precise-security

« back to all changes in this revision

Viewing changes to hsearch.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2005-11-17 18:50:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051117185003-cytgskvjv7jxdsx2
Tags: 3.26.1-1
* New upstream version.
* debian/control: Standards-Version: 3.6.2.
* Remove lintian source overrides file, it's not needed.
* Fix format of the `closes' clauses at the end of this changelog 
  to make lintian happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef HSEARCH_H
2
 
#define HSEARCH_H
3
 
 
4
 
typedef struct entry {
5
 
    char           *key;
6
 
    char           *data;
7
 
}               ENTRY;
8
 
 
9
 
typedef enum {
10
 
    FIND,
11
 
    ENTER
12
 
}               ACTION;
13
 
 
14
 
typedef struct element {
15
 
    ENTRY           item;
16
 
    struct element *next;
17
 
}               ELEMENT;
18
 
 
19
 
extern ENTRY   *hsearch();
20
 
extern void     hdestroy();
21
 
extern int      hcreate();
22
 
extern void     hprint();
23
 
extern void     htext();
24
 
 
25
 
#endif