Searched refs:encoder (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/doveadm/dsync/
H A Ddsync-serializer.h13 void dsync_serializer_encode_add(struct dsync_serializer_encoder *encoder,
15 void dsync_serializer_encode_finish(struct dsync_serializer_encoder **encoder,
H A Ddsync-serializer.c68 struct dsync_serializer_encoder *encoder; local
71 encoder = p_new(pool, struct dsync_serializer_encoder, 1);
72 encoder->pool = pool;
73 encoder->serializer = serializer;
74 p_array_init(&encoder->values, pool, serializer->keys_count);
75 return encoder;
78 void dsync_serializer_encode_add(struct dsync_serializer_encoder *encoder, argument
83 for (i = 0; encoder->serializer->keys[i] != NULL; i++) {
84 if (strcmp(encoder->serializer->keys[i], key) == 0) {
85 value = p_strdup(encoder
96 struct dsync_serializer_encoder *encoder = *_encoder; local
[all...]
H A Ddsync-ibc-stream.c654 struct dsync_serializer_encoder *encoder; local
659 encoder = dsync_ibc_send_encode_begin(ibc, ITEM_HANDSHAKE);
660 dsync_serializer_encode_add(encoder, "hostname", set->hostname);
662 dsync_serializer_encode_add(encoder, "sync_ns_prefix",
666 dsync_serializer_encode_add(encoder, "sync_box", set->sync_box);
668 dsync_serializer_encode_add(encoder, "virtual_all_box",
680 dsync_serializer_encode_add(encoder, "exclude_mailboxes",
684 dsync_serializer_encode_add(encoder, "sync_box_guid",
703 dsync_serializer_encode_add(encoder, "sync_type", sync_type);
705 dsync_serializer_encode_add(encoder, "lock_timeou
927 struct dsync_serializer_encoder *encoder; local
1007 struct dsync_serializer_encoder *encoder; local
1136 dsync_ibc_stream_encode_delete(string_t *str, struct dsync_serializer_encoder *encoder, const struct dsync_mailbox_delete *deletes, unsigned int count, const char *key, enum dsync_mailbox_delete_type type) argument
1163 struct dsync_serializer_encoder *encoder; local
1261 struct dsync_serializer_encoder *encoder; local
1312 struct dsync_serializer_encoder *encoder; local
1487 struct dsync_serializer_encoder *encoder; local
1621 struct dsync_serializer_encoder *encoder; local
1822 struct dsync_serializer_encoder *encoder; local
1871 struct dsync_serializer_encoder *encoder; local
1985 struct dsync_serializer_encoder *encoder; local
[all...]

Completed in 28 milliseconds