1*4eced852Sotto /* $OpenBSD: dlfcn.h,v 1.4 2020/10/09 16:31:03 otto Exp $ */ 25c7d06e5Sguenther /* 35c7d06e5Sguenther * Copyright (c) 2019 Philip Guenther <guenther@openbsd.org> 45c7d06e5Sguenther * 55c7d06e5Sguenther * Permission to use, copy, modify, and distribute this software for any 65c7d06e5Sguenther * purpose with or without fee is hereby granted, provided that the above 75c7d06e5Sguenther * copyright notice and this permission notice appear in all copies. 85c7d06e5Sguenther * 95c7d06e5Sguenther * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 105c7d06e5Sguenther * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 115c7d06e5Sguenther * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 125c7d06e5Sguenther * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 135c7d06e5Sguenther * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 145c7d06e5Sguenther * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 155c7d06e5Sguenther * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 165c7d06e5Sguenther */ 175c7d06e5Sguenther 185c7d06e5Sguenther #ifndef _LIBC_DLFCN_H_ 195c7d06e5Sguenther #define _LIBC_DLFCN_H_ 205c7d06e5Sguenther 215c7d06e5Sguenther #include_next <dlfcn.h> 225c7d06e5Sguenther 23*4eced852Sotto PROTO_NORMAL(dladdr); 245c7d06e5Sguenther PROTO_DEPRECATED(dlclose); 255c7d06e5Sguenther PROTO_DEPRECATED(dlerror); 265c7d06e5Sguenther PROTO_DEPRECATED(dlopen); 275c7d06e5Sguenther PROTO_DEPRECATED(dlsym); 285c7d06e5Sguenther PROTO_NORMAL(dlctl); 295c7d06e5Sguenther 305c7d06e5Sguenther #endif /* _LIBC_DLFCN_H_ */ 31