Lines Matching defs:attr
312 struct dsync_mailbox_attribute lookup_attr, *attr;
320 attr = hash_table_lookup(ctx->attr_changes, &lookup_attr);
321 if (attr == NULL) {
322 attr = p_new(ctx->pool, struct dsync_mailbox_attribute, 1);
323 attr->type = lookup_attr.type;
324 attr->key = p_strdup(ctx->pool, lookup_attr.key);
325 hash_table_insert(ctx->attr_changes, attr, attr);
327 attr->deleted = attr_change[0] == '-';
328 attr->modseq = modseq;
496 dsync_mailbox_attribute_hash(const struct dsync_mailbox_attribute *attr)
498 return str_hash(attr->key) ^ attr->type;