File: table.h

package info (click to toggle)
xball 3.0-16
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,004 kB
  • ctags: 1,358
  • sloc: ansic: 4,612; sh: 3,415; makefile: 522
file content (28 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (7)
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
/**********************************************************************
 * 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 */);


#endif