1 /* $OpenBSD: tree.h,v 1.1 2017/06/19 03:06:26 dlg Exp $ */ 2 3 /* 4 * Copyright (c) 2016 David Gwynne <dlg@openbsd.org> 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 #ifndef _LIBC_TREE 20 #define _LIBC_TREE 21 22 #include_next <sys/tree.h> 23 24 PROTO_NORMAL(_rb_check); 25 PROTO_NORMAL(_rb_find); 26 PROTO_NORMAL(_rb_insert); 27 PROTO_NORMAL(_rb_left); 28 PROTO_NORMAL(_rb_max); 29 PROTO_NORMAL(_rb_min); 30 PROTO_NORMAL(_rb_next); 31 PROTO_NORMAL(_rb_nfind); 32 PROTO_NORMAL(_rb_parent); 33 PROTO_NORMAL(_rb_poison); 34 PROTO_NORMAL(_rb_prev); 35 PROTO_NORMAL(_rb_remove); 36 PROTO_NORMAL(_rb_right); 37 PROTO_NORMAL(_rb_root); 38 PROTO_NORMAL(_rb_set_left); 39 PROTO_NORMAL(_rb_set_parent); 40 PROTO_NORMAL(_rb_set_right); 41 42 #endif /* !_LIBC_TREE */ 43