doveadm-print.h revision ce9619645e0ec302c208690e9f9bc65037c05196
76a99afe0914951d20d96e0bf5e6d8d3ea3fd503Timo Sirainen DOVEADM_PRINT_HEADER_FLAG_RIGHT_JUSTIFY = 0x01,
a35cbba04d0a2823da98e693bd09a051addffdb2Timo Sirainenextern const struct doveadm_print_vfuncs *doveadm_print_vfuncs_all[];
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainenvoid doveadm_print_header(const char *key, const char *title,
cb2b5a7d6e7e651191bf9ee1eda94a6e207288b0Timo Sirainenvoid doveadm_print_header_simple(const char *key_title);
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainen/* Stream for same field continues until len=0 */
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainenvoid doveadm_print_stream(const void *value, size_t size);
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainen/* Print the whole input stream. Returns 0 if ok, -1 if stream read() failed */
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainenint doveadm_print_istream(struct istream *input);
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainenvoid doveadm_print_sticky(const char *key, const char *value);