-
Notifications
You must be signed in to change notification settings - Fork 0
/
table.h
31 lines (24 loc) · 829 Bytes
/
table.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**********************************************************************
* file - description
*
* Copyright 1993, David Nedde
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for any purpose and without fee is granted
* provided that the above copyright notice appears in all copies.
* It is provided "as is" without express or implied warranty.
**********************************************************************/
#ifndef __TABLE_H__
#define __TABLE_H__
#include "list.h"
typedef struct {
list_type list;
} table_struct_type, *table_type;
table_type table__create();
void table__destroy(/* table */);
void table__store(/* table, key, data */);
void * table__retrieve(/* table, key */);
#ifdef DEBUG
void table__dump(/* table */);
#endif
#endif