Lines Matching defs:clnt
41 ndr_clnt_bind(ndr_client_t *clnt, const char *service_name,
59 mxa.binding_list = clnt->binding_list;
63 ndr_clnt_init_hdr(clnt, &mxa);
75 pce->p_cont_id = clnt->next_p_cont_id++;
93 if ((*clnt->xa_init)(clnt, &mxa) < 0)
100 if ((*clnt->xa_exchange)(clnt, &mxa) < 0) {
110 (*clnt->xa_destruct)(clnt, &mxa);
127 mbind->clnt = clnt;
135 (*clnt->xa_destruct)(clnt, &mxa);
142 ndr_client_t *clnt = mbind->clnt;
158 ndr_clnt_init_hdr(clnt, &mxa);
165 if ((*clnt->xa_init)(clnt, &mxa) < 0)
189 if ((*clnt->xa_exchange)(clnt, &mxa) < 0) {
219 if (ndr_clnt_get_frags(clnt, &mxa) < 0) {
231 (*clnt->xa_preserve)(clnt, &mxa);
232 (*clnt->xa_destruct)(clnt, &mxa);
236 (*clnt->xa_destruct)(clnt, &mxa);
260 ndr_clnt_free_heap(ndr_client_t *clnt)
262 (*clnt->xa_release)(clnt);
266 ndr_clnt_init_hdr(ndr_client_t *clnt, ndr_xa_t *mxa)
279 hdr->call_id = clnt->next_call_id++;
294 ndr_clnt_get_frags(ndr_client_t *clnt, ndr_xa_t *mxa)
302 if (ndr_clnt_get_frag(clnt, mxa, &hdr) < 0) {
328 ndr_clnt_get_frag(ndr_client_t *clnt, ndr_xa_t *mxa, ndr_common_header_t *hdr)
337 if ((nbytes += (*clnt->xa_read)(clnt, mxa)) <= 0)
346 if ((nbytes = (*clnt->xa_read)(clnt, mxa)) <= 0)