home *** CD-ROM | disk | FTP | other *** search
Wrap
rrrrppppccccbbbbiiiinnnndddd((((3333NNNN)))) rrrrppppccccbbbbiiiinnnndddd((((3333NNNN)))) NNNNAAAAMMMMEEEE _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd: _rrrr_pppp_cccc_bbbb______gggg_eeee_tttt_mmmm_aaaa_pppp_ssss, _rrrr_pppp_cccc_bbbb______gggg_eeee_tttt_aaaa_dddd_dddd_rrrr, _rrrr_pppp_cccc_bbbb______gggg_eeee_tttt_tttt_iiii_mmmm_eeee, _rrrr_pppp_cccc_bbbb______rrrr_mmmm_tttt_cccc_aaaa_llll_llll, _rrrr_pppp_cccc_bbbb______ssss_eeee_tttt, _rrrr_pppp_cccc_bbbb______uuuu_nnnn_ssss_eeee_tttt - library routines for RPC bind service DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN These routines allow client C programs to make procedure calls to the RPC binder service. _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd [see _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd(1M)] maintains a list of mappings between programs and their universal addresses. RRRRoooouuuuttttiiiinnnneeeessss _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_rrrr_pppp_cccc_////_rrrr_pppp_cccc_...._hhhh_>>>> _ssss_tttt_rrrr_uuuu_cccc_tttt _rrrr_pppp_cccc_bbbb_llll_iiii_ssss_tttt _**** _rrrr_pppp_cccc_bbbb______gggg_eeee_tttt_mmmm_aaaa_pppp_ssss_((((_cccc_oooo_nnnn_ssss_tttt _ssss_tttt_rrrr_uuuu_cccc_tttt _nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_iiii_gggg _****_nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_hhhh_oooo_ssss_tttt_))))_;;;; A user interface to the _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service, which returns a list of the current RPC program-to-address mappings on the host named. It uses the transport specified through _n_e_t_c_o_n_f to contact the remote _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service on host _h_o_s_t. This routine will return _NNNN_UUUU_LLLL_LLLL, if the remote _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd could not be contacted. _bbbb_oooo_oooo_llll______tttt _rrrr_pppp_cccc_bbbb______gggg_eeee_tttt_aaaa_dddd_dddd_rrrr_((((_cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _pppp_rrrr_oooo_gggg_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _vvvv_eeee_rrrr_ssss_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _ssss_tttt_rrrr_uuuu_cccc_tttt _nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_iiii_gggg _****_nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_,,,, _ssss_tttt_rrrr_uuuu_cccc_tttt _nnnn_eeee_tttt_bbbb_uuuu_ffff _****_ssss_vvvv_cccc_aaaa_dddd_dddd_rrrr_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_hhhh_oooo_ssss_tttt_))))_;;;; A user interface to the _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service, which finds the address of the service on _h_o_s_t that is registered with program number _p_r_o_g_n_u_m, version _v_e_r_s_n_u_m, and speaks the transport protocol associated with _n_e_t_c_o_n_f. The address found is returned in _s_v_c_a_d_d_r. _s_v_c_a_d_d_r should be preallocated. This routine returns _1111 if it succeeds. A return value of _0000 means that the mapping does not exist or that the RPC system failed to contact the remote _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service. In the latter case, the global variable _rrrr_pppp_cccc______cccc_rrrr_eeee_aaaa_tttt_eeee_eeee_rrrr_rrrr contains the RPC status. _bbbb_oooo_oooo_llll______tttt _rrrr_pppp_cccc_bbbb______gggg_eeee_tttt_tttt_iiii_mmmm_eeee_((((_cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_hhhh_oooo_ssss_tttt_,,,, _tttt_iiii_mmmm_eeee______tttt _****_tttt_iiii_mmmm_eeee_pppp_))))_;;;; This routine returns the time on _h_o_s_t in _t_i_m_e_p. If _h_o_s_t is _NNNN_UUUU_LLLL_LLLL, _rrrr_pppp_cccc_bbbb______gggg_eeee_tttt_tttt_iiii_mmmm_eeee returns the time on its own machine. This routine returns _1111 if it succeeds, _0000 if it fails. _rrrr_pppp_cccc_bbbb______gggg_eeee_tttt_tttt_iiii_mmmm_eeee can be used to synchronize the time between the client and the remote server. This routine is particularly useful for secure RPC. _eeee_nnnn_uuuu_mmmm _cccc_llll_nnnn_tttt______ssss_tttt_aaaa_tttt _rrrr_pppp_cccc_bbbb______rrrr_mmmm_tttt_cccc_aaaa_llll_llll_((((_cccc_oooo_nnnn_ssss_tttt _ssss_tttt_rrrr_uuuu_cccc_tttt _nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_iiii_gggg _****_nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_hhhh_oooo_ssss_tttt_,,,, _cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _pppp_rrrr_oooo_gggg_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _vvvv_eeee_rrrr_ssss_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _pppp_rrrr_oooo_cccc_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _xxxx_dddd_rrrr_pppp_rrrr_oooo_cccc______tttt _iiii_nnnn_pppp_rrrr_oooo_cccc_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_aaaa_dddd_dddd_rrrr______tttt _iiii_nnnn_,,,, _cccc_oooo_nnnn_ssss_tttt _xxxx_dddd_rrrr_pppp_rrrr_oooo_cccc______tttt _oooo_uuuu_tttt_pppp_rrrr_oooo_cccc_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_aaaa_dddd_dddd_rrrr______tttt _oooo_uuuu_tttt_,,,, _cccc_oooo_nnnn_ssss_tttt _ssss_tttt_rrrr_uuuu_cccc_tttt _tttt_iiii_mmmm_eeee_vvvv_aaaa_llll _tttt_oooo_uuuu_tttt_,,,, _ssss_tttt_rrrr_uuuu_cccc_tttt _nnnn_eeee_tttt_bbbb_uuuu_ffff _****_ssss_vvvv_cccc_aaaa_dddd_dddd_rrrr_))))_;;;; PPPPaaaaggggeeee 1111 rrrrppppccccbbbbiiiinnnndddd((((3333NNNN)))) rrrrppppccccbbbbiiiinnnndddd((((3333NNNN)))) A user interface to the _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service, which instructs _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd on _h_o_s_t to make an RPC call on your behalf to a procedure on that host. The parameter *_s_v_c_a_d_d_r will be modified to the server's address if the procedure succeeds [see _rrrr_pppp_cccc______cccc_aaaa_llll_llll and _cccc_llll_nnnn_tttt______cccc_aaaa_llll_llll in _rrrr_pppp_cccc______cccc_llll_nnnn_tttt______cccc_aaaa_llll_llll_ssss(3N) for the definitions of other parameters]. This procedure should normally be used for a ping and nothing else [see _rrrr_pppp_cccc______bbbb_rrrr_oooo_aaaa_dddd_cccc_aaaa_ssss_tttt in _rrrr_pppp_cccc______cccc_llll_nnnn_tttt______cccc_aaaa_llll_llll_ssss(3N)]. This routine allows programs to do lookup and call, all in one step. _bbbb_oooo_oooo_llll______tttt _rrrr_pppp_cccc_bbbb______ssss_eeee_tttt_((((_cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _pppp_rrrr_oooo_gggg_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _vvvv_eeee_rrrr_ssss_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _ssss_tttt_rrrr_uuuu_cccc_tttt _nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_iiii_gggg _****_nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_,,,, _cccc_oooo_nnnn_ssss_tttt _ssss_tttt_rrrr_uuuu_cccc_tttt _nnnn_eeee_tttt_bbbb_uuuu_ffff _****_ssss_vvvv_cccc_aaaa_dddd_dddd_rrrr_))))_;;;; A user interface to the _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service, which establishes a mapping between the triple [_p_r_o_g_n_u_m, _v_e_r_s_n_u_m, _n_e_t_c_o_n_f_----_>>>>_nnnn_cccc______nnnn_eeee_tttt_iiii_dddd] and _s_v_c_a_d_d_r on the machine's _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service. The value of _t_r_a_n_s_p_o_r_t must correspond to a network token that is defined by the netconfig database. This routine returns _1111 if it succeeds, _0000 otherwise. [See also _ssss_vvvv_cccc______rrrr_eeee_gggg in _rrrr_pppp_cccc______ssss_vvvv_cccc______cccc_aaaa_llll_llll_ssss(3N)]. _bbbb_oooo_oooo_llll______tttt _rrrr_pppp_cccc_bbbb______uuuu_nnnn_ssss_eeee_tttt_((((_cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _pppp_rrrr_oooo_gggg_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _uuuu______llll_oooo_nnnn_gggg _vvvv_eeee_rrrr_ssss_nnnn_uuuu_mmmm_,,,, _cccc_oooo_nnnn_ssss_tttt _ssss_tttt_rrrr_uuuu_cccc_tttt _nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_iiii_gggg _****_nnnn_eeee_tttt_cccc_oooo_nnnn_ffff_))))_;;;; A user interface to the _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service, which destroys all mapping between the triple [_p_r_o_g_n_u_m, _v_e_r_s_n_u_m, _n_e_t_c_o_n_f_----_>>>>_nnnn_cccc______nnnn_eeee_tttt_iiii_dddd] and the address on the machine's _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service. If _n_e_t_c_o_n_f is _NNNN_UUUU_LLLL_LLLL, _rrrr_pppp_cccc_bbbb______uuuu_nnnn_ssss_eeee_tttt destroys all mapping between the triple [_p_r_o_g_n_u_m, _v_e_r_s_n_u_m, _****] and the addresses on the machine's _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd service. This routine returns _1111 if it succeeds, _0000 otherwise. [See also _ssss_vvvv_cccc______uuuu_nnnn_rrrr_eeee_gggg in _rrrr_pppp_cccc______ssss_vvvv_cccc______cccc_aaaa_llll_llll_ssss(3N)]. SSSSEEEEEEEE AAAALLLLSSSSOOOO _rrrr_pppp_cccc______cccc_llll_nnnn_tttt______cccc_aaaa_llll_llll_ssss(3N), _rrrr_pppp_cccc______ssss_vvvv_cccc______cccc_aaaa_llll_llll_ssss(3N), _rrrr_pppp_cccc_bbbb_iiii_nnnn_dddd(1M), _rrrr_pppp_cccc_iiii_nnnn_ffff_oooo(1M) PPPPaaaaggggeeee 2222