⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pmap_clnt.h

📁 操作系统SunOS 4.1.3版本的源码
💻 H
字号:
/*	@(#)pmap_clnt.h 1.1 92/07/30 SMI	*//* * pmap_clnt.h * Supplies C routines to get to portmap services. * * Copyright (C) 1984, Sun Microsystems, Inc. *//* * Usage: *	success = pmap_set(program, version, protocol, port); *	success = pmap_unset(program, version); *	port = pmap_getport(address, program, version, protocol); *	head = pmap_getmaps(address); *	clnt_stat = pmap_rmtcall(address, program, version, procedure, *		xdrargs, argsp, xdrres, resp, tout, port_ptr) *		(works for udp only.) * 	clnt_stat = clnt_broadcast(program, version, procedure, *		xdrargs, argsp,	xdrres, resp, eachresult) *		(like pmap_rmtcall, except the call is broadcasted to all *		locally connected nets.  For each valid response received, *		the procedure eachresult is called.  Its form is: *	done = eachresult(resp, raddr) *		bool_t done; *		caddr_t resp; *		struct sockaddr_in raddr; *		where resp points to the results of the call and raddr is the *		address if the responder to the broadcast. */#ifndef _rpc_pmap_clnt_h#define	_rpc_pmap_clnt_hextern bool_t		pmap_set();extern bool_t		pmap_unset();extern struct pmaplist	*pmap_getmaps();enum clnt_stat		pmap_rmtcall();enum clnt_stat		clnt_broadcast();extern u_short		pmap_getport();#endif /*!_rpc_pmap_clnt_h*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -