1 /*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Margo Seltzer. 7 * 8 * %sccs.include.redist.c% 9 * 10 * @(#)search.h 5.1 (Berkeley) 02/12/91 11 */ 12 13 /* Backward compatibility to hsearch interface */ 14 typedef struct entry { 15 char *key; 16 char *data; 17 } ENTRY; 18 19 typedef enum { FIND, ENTER } ACTION; 20