1*0674b982Scheloha /* $OpenBSD: search.h,v 1.2 2021/12/08 22:06:28 cheloha Exp $ */ 299f826f7Sguenther /* 399f826f7Sguenther * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> 499f826f7Sguenther * 599f826f7Sguenther * Permission to use, copy, modify, and distribute this software for any 699f826f7Sguenther * purpose with or without fee is hereby granted, provided that the above 799f826f7Sguenther * copyright notice and this permission notice appear in all copies. 899f826f7Sguenther * 999f826f7Sguenther * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1099f826f7Sguenther * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1199f826f7Sguenther * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1299f826f7Sguenther * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1399f826f7Sguenther * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1499f826f7Sguenther * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1599f826f7Sguenther * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1699f826f7Sguenther */ 1799f826f7Sguenther 1899f826f7Sguenther #ifndef _LIBC_SEARCH_H_ 1999f826f7Sguenther #define _LIBC_SEARCH_H_ 2099f826f7Sguenther 2199f826f7Sguenther #include_next <search.h> 2299f826f7Sguenther 2399f826f7Sguenther PROTO_DEPRECATED(hcreate); 2499f826f7Sguenther PROTO_DEPRECATED(hdestroy); 2599f826f7Sguenther PROTO_DEPRECATED(hsearch); 2699f826f7Sguenther PROTO_DEPRECATED(insque); 27*0674b982Scheloha PROTO_NORMAL(lfind); 2899f826f7Sguenther PROTO_DEPRECATED(lsearch); 2999f826f7Sguenther PROTO_DEPRECATED(remque); 3099f826f7Sguenther PROTO_DEPRECATED(tdelete); 3199f826f7Sguenther PROTO_DEPRECATED(tfind); 3299f826f7Sguenther PROTO_DEPRECATED(tsearch); 3399f826f7Sguenther PROTO_DEPRECATED(twalk); 3499f826f7Sguenther 3599f826f7Sguenther #endif /* !_LIBC_SEARCH_H_ */ 36