Lines Matching defs:clnt
43 #include <rpc/clnt.h>
67 static CLIENT *clnt;
76 if (clnt)
77 return (clnt);
91 clnt = clnt_tp_create(hostname,
93 if (clnt) {
102 if ((clnt == NULL) && (tpconf)) {
106 clnt = clnt_tp_create(hostname, GSSPROG, GSSVERS, tpconf);
108 if (clnt) {
125 if (clnt_control(clnt, CLSET_SVC_PRIV, NULL) != TRUE) {
126 clnt_destroy(clnt);
127 clnt = NULL;
131 if (clnt == NULL)
134 clnt->cl_auth = authsys_create("", getuid(), 0, 0, NULL);
135 if (clnt->cl_auth == NULL) {
136 clnt_destroy(clnt);
137 clnt = NULL;
142 (void) clnt_control(clnt, CLSET_RETRY_TIMEOUT, (char *)&wait_time);
144 return (clnt);