1 /* associative.h: 2 * 3 **************************************************************** 4 * Copyright (C) 2003 Tom Lord 5 * 6 * See the file "COPYING" for further information about 7 * the copyright and warranty status of this work. 8 */ 9 10 #ifndef INCLUDE__FILE_UTILS__ASSOCIATIVE_H 11 #define INCLUDE__FILE_UTILS__ASSOCIATIVE_H 12 13 14 #include "hackerlab/machine/types.h" 15 #include "tla/libawk/relational.h" 16 17 18 19 typedef struct assoc_table_incomplete_type * assoc_table; 20 21 22 23 /* automatically generated __STDC__ prototypes */ 24 extern void assoc_set_taking (assoc_table * vtable, 25 rel_field key, 26 rel_field value); 27 extern rel_field assoc_get_taking (assoc_table vtable, 28 rel_field key); 29 extern const t_uchar * assoc_get_str_taking (assoc_table vtable, 30 rel_field key); 31 extern void assoc_del_taking (assoc_table vtable, 32 rel_field key); 33 extern void free_assoc_table (assoc_table table); 34 #endif /* INCLUDE__FILE_UTILS__ASSOCIATIVE_H */ 35 36 37 /* tag: Tom Lord Sat Jan 5 15:26:10 2002 (associative.h) 38 */ 39