/dovecot/src/lib-ldap/ |
H A D | ldap-entry.c | 26 struct ldap_attribute *attr = p_new(result->pool, struct ldap_attribute, 1); local 27 attr->name = p_strdup(result->pool, tmp); 28 array_append(&attr_names, &attr->name, 1); 32 p_array_init(&attr->values, result->pool, count); 35 array_append(&attr->values, &ptr, 1); 39 array_append_zero(&attr->values); 41 array_append(&obj->attributes, attr, 1); 65 const struct ldap_attribute *attr; local 66 array_foreach(&entry->attributes, attr) { 67 if (strcasecmp(attr [all...] |
H A D | ldap-client.h | 50 const char *attr; member in struct:ldap_compare_input
|
/dovecot/src/doveadm/dsync/ |
H A D | dsync-brain-mails.c | 88 const struct dsync_mailbox_attribute *attr; local 92 if ((ret = dsync_ibc_recv_mailbox_attribute(brain->ibc, &attr)) == 0) 98 if (dsync_mailbox_import_attribute(brain->box_importer, attr) < 0) 100 input = attr->value_stream; 130 const struct dsync_mailbox_attribute *attr; local 133 while ((ret = dsync_mailbox_export_next_attr(brain->box_exporter, &attr)) > 0) { 134 if (dsync_ibc_send_mailbox_attribute(brain->ibc, attr) == 0)
|
H A D | dsync-ibc.c | 128 const struct dsync_mailbox_attribute *attr) 131 ibc->v.send_mailbox_attribute(ibc, attr); 127 dsync_ibc_send_mailbox_attribute(struct dsync_ibc *ibc, const struct dsync_mailbox_attribute *attr) argument
|
H A D | dsync-transaction-log-scan.c | 312 struct dsync_mailbox_attribute lookup_attr, *attr; local 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 496 dsync_mailbox_attribute_hash(const struct dsync_mailbox_attribute *attr) argument [all...] |
H A D | dsync-ibc-pipe.c | 36 struct dsync_mailbox_attribute attr; member in union:item::__anon26 369 const struct dsync_mailbox_attribute *attr) 375 dsync_mailbox_attribute_dup(item->pool, attr, &item->u.attr); 392 *attr_r = &item->u.attr; 368 dsync_ibc_pipe_send_mailbox_attribute(struct dsync_ibc *ibc, const struct dsync_mailbox_attribute *attr) argument
|
H A D | dsync-mailbox-export.c | 54 struct dsync_mailbox_attribute attr; member in struct:dsync_mailbox_exporter 558 struct dsync_mailbox_attribute *attr; local 563 &attr, &attr)) { 564 if (attr->exported || !attr->deleted) 568 if (mailbox_attribute_get_stream(exporter->box, attr->type, 569 attr->key, &value) < 0) { 571 "Mailbox attribute %s lookup failed: %s", attr->key, 581 attr 599 struct dsync_mailbox_attribute lookup_attr, *attr; local [all...] |
H A D | dsync-ibc-stream.c | 1484 const struct dsync_mailbox_attribute *attr) 1498 switch (attr->type) { 1508 dsync_serializer_encode_add(encoder, "key", attr->key); 1509 if (attr->value != NULL) 1510 dsync_serializer_encode_add(encoder, "value", attr->value); 1511 else if (attr->value_stream != NULL) 1514 if (attr->deleted) 1516 if (attr->last_change != 0) { 1518 dec2str(attr->last_change)); 1520 if (attr 1483 dsync_ibc_stream_send_mailbox_attribute(struct dsync_ibc *_ibc, const struct dsync_mailbox_attribute *attr) argument 1543 struct dsync_mailbox_attribute *attr; local [all...] |
H A D | dsync-mailbox-import.c | 340 struct dsync_mailbox_attribute lookup_attr, *attr; local 365 attr = t_new(struct dsync_mailbox_attribute, 1); 366 attr->type = type; 367 attr->key = key; 368 attr->value = value.value; 369 attr->value_stream = value.value_stream; 370 attr->last_change = value.last_change; 372 attr->deleted = attr_change->deleted && 373 !DSYNC_ATTR_HAS_VALUE(attr); 374 attr 449 dsync_attributes_cmp(const struct dsync_mailbox_attribute *attr, const struct dsync_mailbox_attribute *local_attr, int *cmp_r) argument 469 dsync_mailbox_import_attribute_real(struct dsync_mailbox_importer *importer, const struct dsync_mailbox_attribute *attr, const struct dsync_mailbox_attribute *local_attr, const char **result_r) argument 558 dsync_mailbox_import_attribute(struct dsync_mailbox_importer *importer, const struct dsync_mailbox_attribute *attr) argument [all...] |
/dovecot/src/lib-storage/ |
H A D | mailbox-attribute.c | 382 const char *const *attr; local 406 array_foreach(&extra_attrs, attr) { 409 strncmp(*attr, MAILBOX_ATTRIBUTE_PREFIX_DOVECOT_PVT_SERVER, 412 array_append(&intiter->extra_attrs, attr, 1);
|
/dovecot/src/plugins/push-notification/ |
H A D | push-notification-driver-ox.c | 143 struct mail_attribute_value attr; local 166 OX_METADATA_KEY, &attr); 184 dconfig->cached_ox_metadata = i_strdup(attr.value);
|
/dovecot/src/plugins/mail-crypt/ |
H A D | doveadm-mail-crypt.c | 698 const char *attr; member in struct:raw_key 771 const char *attr = local 777 attr, &value)) < 0) { 779 mailbox_get_vname(box), attr, 785 raw_key->attr = p_strdup(_ctx->pool, attr); 837 raw_key->attr, &value) < 0) { 840 raw_key->attr,
|
/dovecot/src/auth/ |
H A D | db-ldap.c | 1389 const char *const *attr, *attr_data, *p, *error; local 1396 attr = t_strsplit_spaces(attrlist, ","); 1401 for (i = 0; attr[i] != NULL; i++) { 1403 attr_data = attr[i]; 1437 attr=name=prefix means same as 1438 attr=name=prefix%$ when %vars are missing */ 1511 const char *attr) 1519 if (strcmp(field->ldap_attr_name, attr) == 0) { 1534 char *attr, **vals; local 1538 attr 1510 ldap_field_hide_password(struct db_ldap_result_iterate_context *ctx, const char *attr) argument [all...] |