HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/thread-self/root/usr/local/apps/dovecot/include/dovecot/http-transfer.h
#ifndef HTTP_TRANSFER_H
#define HTTP_TRANSFER_H

struct http_transfer_param {
	const char *attribute;
	const char *value;
};
ARRAY_DEFINE_TYPE(http_transfer_param, struct http_transfer_param);

struct http_transfer_coding {
	const char *name;
	ARRAY_TYPE(http_transfer_param) parameters;

};
ARRAY_DEFINE_TYPE(http_transfer_coding, struct http_transfer_coding);


// FIXME: we currently lack a means to get error strings from the input stream

struct istream *
http_transfer_chunked_istream_create(struct istream *input, uoff_t max_size);
struct ostream *
	http_transfer_chunked_ostream_create(struct ostream *output);

#endif