Lines Matching refs:client
65 int get_remote_ordernum(CLIENT *, char *, char *, u_int, u_int *);
66 void get_map(CLIENT *, char *, char *, struct ypall_callback *);
71 int add_master(CLIENT *, char *, char *, DBM *);
72 int add_interdomain(CLIENT *, char *, char *, DBM *);
73 int add_secure(CLIENT *, char *, char *, DBM *);
74 int send_clear(CLIENT *);
75 int send_reply(CLIENT *, int, int);
92 CLIENT *client;
97 client = NULL;
202 client = yp_bind_host(host, YPPROG, YPVERS, 0, 1);
204 status = get_remote_ordernum(client, domain, map, ordernum,
220 status = add_master(client, domain, map, db);
224 status = add_interdomain(client, domain, map, db);
228 status = add_secure(client, domain, map, db);
232 get_map(client, domain, map, &callback);
249 if (client != NULL)
250 clnt_destroy(client);
254 client = yp_bind_local(YPPROG, YPVERS);
255 status = send_clear(client);
256 clnt_destroy(client);
261 client = yp_bind_host(ipadd, atoi(prog), 1, atoi(port), 0);
262 status = send_reply(client, xfr_status, atoi(tid));
263 clnt_destroy(client);
381 get_remote_ordernum(CLIENT *client, char *domain, char *map,
386 status = yp_order_host(client, domain, map, (int *)rordernum);
401 get_map(CLIENT *client, char *domain, char *map,
405 (void)yp_all_host(client, domain, map, incallback);
476 add_master(CLIENT *client, char *domain, char *map, DBM *ldb)
486 status = yp_master_host(client, domain, map, &master);
508 add_interdomain(CLIENT *client, char *domain, char *map, DBM *ldb)
520 status = yp_match_host(client, domain, map,
545 add_secure(CLIENT *client, char *domain, char *map, DBM *ldb)
557 status = yp_match_host(client, domain, map,
582 send_clear(CLIENT *client)
594 r = clnt_call(client, YPPROC_CLEAR, xdr_void, 0, xdr_void, 0, tv);
596 clnt_perror(client, "yp_clear: clnt_call");
604 send_reply(CLIENT *client, int status, int tid)
617 r = clnt_call(client, YPPUSHPROC_XFRRESP, xdr_ypresp_xfr, &resp,
620 clnt_perror(client, "yppushresp_xdr: clnt_call");