Lines Matching defs:cname
52 char *cname; /* canonical name, don't free it */
75 _nss_services_cookie_new(ns_ldap_result_t *result, int index, char *cname) {
89 cookie->cname = cname;
115 char **ipport, *cname = NULL, *protoval = NULL;
128 cname = cookie->cname;
163 if (cname == NULL) {
164 cname = __s_api_get_canonical_name(result->entry, names, 1);
165 if (cname == NULL || (len = strlen(cname)) < 1) {
173 (len = strlen(cname)) < 1) {
178 len = snprintf(buffer, buflen, "%s %s/", cname, ipport[0]);
246 if (strcmp(cname, names->attrvalue[i]) != 0) {
265 (void *)_nss_services_cookie_new(be->result, 1, cname);