Lines Matching refs:attrs
199 char *surl, *scopes, *attrs, *spis;
207 attrs = build_attrs_list(*collator);
210 if (!hp->async && attrs) {
211 cb(hp, attrs, SLP_OK, cookie);
212 free(attrs);
218 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode)
228 collate_attrs(attrs, collator, numResults, maxResults);
231 cont = cb((SLPHandle) hp, attrs, errCode, cookie);
238 free(attrs);
256 char *surl, *scopes, *attrs;
263 attrs = build_attrs_list(*collator);
266 if (!hp->async && attrs) {
267 cb(hp, attrs, SLP_OK, cookie);
268 free(attrs);
274 if (slp_unpackSAAdvert(reply, &surl, &scopes, &attrs) != SLP_OK) {
280 collate_attrs(attrs, collator, numResults, maxResults);
283 cont = cb((SLPHandle) hp, attrs, SLP_OK, cookie);
290 free(attrs);
499 static void collate_attrs(char *attrs, void **collator,
504 for (start = attrs;