search.h (292613) | search.h (292767) |
---|---|
1/*- 2 * Written by J.T. Conklin <jtc@NetBSD.org> 3 * Public domain. 4 * 5 * $NetBSD: search.h,v 1.16 2005/02/03 04:39:32 perry Exp $ | 1/*- 2 * Written by J.T. Conklin <jtc@NetBSD.org> 3 * Public domain. 4 * 5 * $NetBSD: search.h,v 1.16 2005/02/03 04:39:32 perry Exp $ |
6 * $FreeBSD: head/include/search.h 292613 2015-12-22 18:12:11Z ed $ | 6 * $FreeBSD: head/include/search.h 292767 2015-12-27 07:50:11Z ed $ |
7 */ 8 9#ifndef _SEARCH_H_ 10#define _SEARCH_H_ 11 12#include <sys/cdefs.h> 13#include <sys/_types.h> 14 --- 27 unchanged lines hidden (view full) --- 42 43struct que_elem { 44 struct que_elem *next; 45 struct que_elem *prev; 46}; 47#endif 48 49#if __BSD_VISIBLE | 7 */ 8 9#ifndef _SEARCH_H_ 10#define _SEARCH_H_ 11 12#include <sys/cdefs.h> 13#include <sys/_types.h> 14 --- 27 unchanged lines hidden (view full) --- 42 43struct que_elem { 44 struct que_elem *next; 45 struct que_elem *prev; 46}; 47#endif 48 49#if __BSD_VISIBLE |
50struct _ENTRY; | |
51struct hsearch_data { | 50struct hsearch_data { |
52 struct _ENTRY *table; 53 size_t size; 54 size_t filled; | 51 struct __hsearch *__hsearch; |
55}; 56#endif 57 58__BEGIN_DECLS 59int hcreate(size_t); 60void hdestroy(void); 61ENTRY *hsearch(ENTRY, ACTION); 62void insque(void *, void *); --- 21 unchanged lines hidden --- | 52}; 53#endif 54 55__BEGIN_DECLS 56int hcreate(size_t); 57void hdestroy(void); 58ENTRY *hsearch(ENTRY, ACTION); 59void insque(void *, void *); --- 21 unchanged lines hidden --- |