1*8ae7fd5aSguenther /* $OpenBSD: ypclnt.h,v 1.2 2016/05/30 02:53:29 guenther Exp $ */ 2ba364befSguenther /* 3ba364befSguenther * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> 4ba364befSguenther * 5ba364befSguenther * Permission to use, copy, modify, and distribute this software for any 6ba364befSguenther * purpose with or without fee is hereby granted, provided that the above 7ba364befSguenther * copyright notice and this permission notice appear in all copies. 8ba364befSguenther * 9ba364befSguenther * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10ba364befSguenther * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11ba364befSguenther * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12ba364befSguenther * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13ba364befSguenther * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14ba364befSguenther * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15ba364befSguenther * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16ba364befSguenther */ 17ba364befSguenther 18ba364befSguenther #ifndef _LIBC_RPCSVC_YPCLNT_H_ 19ba364befSguenther #define _LIBC_RPCSVC_YPCLNT_H_ 20ba364befSguenther 21ba364befSguenther #include_next <rpcsvc/ypclnt.h> 22ba364befSguenther 23*8ae7fd5aSguenther __BEGIN_HIDDEN_DECLS 24*8ae7fd5aSguenther struct dom_binding; 25*8ae7fd5aSguenther int _yp_dobind(const char *, struct dom_binding **); 26*8ae7fd5aSguenther __END_HIDDEN_DECLS 27*8ae7fd5aSguenther 28ba364befSguenther PROTO_DEPRECATED(yp_all); 29ba364befSguenther PROTO_NORMAL(yp_bind); 30ba364befSguenther PROTO_NORMAL(yp_first); 31ba364befSguenther PROTO_NORMAL(yp_get_default_domain); 32ba364befSguenther PROTO_DEPRECATED(yp_maplist); 33ba364befSguenther PROTO_DEPRECATED(yp_master); 34ba364befSguenther PROTO_NORMAL(yp_match); 35ba364befSguenther PROTO_NORMAL(yp_next); 36ba364befSguenther PROTO_DEPRECATED(yp_order); 37ba364befSguenther PROTO_DEPRECATED(yp_unbind); 38ba364befSguenther PROTO_DEPRECATED(yperr_string); 39ba364befSguenther PROTO_NORMAL(ypprot_err); 40ba364befSguenther 41ba364befSguenther #endif /* _LIBC_RPCSVC_YPCLNT_H_ */ 42