Lines Matching refs:attrs

987 	for (i = 0; !ae && i < 10 && node->attrs[i].name; i++) {
989 ae = &node->attrs[i];
1038 for (i = 0; !ae && i < 10 && node->attrs[i].name; i++)
1039 if (!strcmp(name, node->attrs[i].name))
1040 ae = &node->attrs[i];
1298 *(int32 *)&n->attrs[1].value = i + 1; // hack
1299 n->attrs[0].type = 'LONG';
1300 n->attrs[0].value = &n->attrs[1].value;
1301 n->attrs[0].size = sizeof(int32);
1302 n->attrs[0].name = "WEBSEARCH:order";
1303 notify_attribute_changed(ns->nsid, -1, n->vnid, n->attrs[0].name, B_ATTR_CHANGED);
1467 n->attrs[i].type = 'CSTR';
1468 n->attrs[i].value = result->name;
1469 n->attrs[i].size = strlen(result->name)+1;
1470 n->attrs[i].name = "META:title";
1471 notify_attribute_changed(ns->nsid, -1, n->vnid, n->attrs[i].name, B_ATTR_CREATED);
1473 n->attrs[i].type = 'CSTR';
1474 n->attrs[i].value = result->url;
1475 n->attrs[i].size = strlen(result->url)+1;
1476 n->attrs[i].name = "META:url";
1477 notify_attribute_changed(ns->nsid, -1, n->vnid, n->attrs[i].name, B_ATTR_CREATED);
1479 n->attrs[i].type = 'CSTR';
1480 n->attrs[i].value = request->query_string;
1481 n->attrs[i].size = strlen(request->query_string)+1;
1482 n->attrs[i].name = "META:keyw";
1483 notify_attribute_changed(ns->nsid, -1, n->vnid, n->attrs[i].name, B_ATTR_CREATED);
1485 n->attrs[i].type = 'LONG';
1486 n->attrs[i].value = &result->id;
1487 n->attrs[i].size = sizeof(int32);
1488 n->attrs[i].name = "WEBSEARCH:order";
1489 notify_attribute_changed(ns->nsid, -1, n->vnid, n->attrs[i].name, B_ATTR_CREATED);
1492 n->attrs[i].type = 'CSTR';
1493 n->attrs[i].value = result->snipset;
1494 n->attrs[i].size = strlen(result->snipset)+1;
1495 n->attrs[i].name = "WEBSEARCH:excerpt";
1496 notify_attribute_changed(ns->nsid, -1, n->vnid, n->attrs[i].name, B_ATTR_CREATED);
1500 n->attrs[i].type = 'CSTR';
1501 n->attrs[i].value = result->cache_url;
1502 n->attrs[i].size = strlen(result->cache_url)+1;
1503 n->attrs[i].name = "WEBSEARCH:cache_url";
1504 notify_attribute_changed(ns->nsid, -1, n->vnid, n->attrs[i].name, B_ATTR_CREATED);
1508 n->attrs[i].type = 'CSTR';
1509 n->attrs[i].value = result->similar_url;
1510 n->attrs[i].size = strlen(result->similar_url)+1;
1511 n->attrs[i].name = "WEBSEARCH:similar_url";
1512 notify_attribute_changed(ns->nsid, -1, n->vnid, n->attrs[i].name, B_ATTR_CREATED);