client-common.h revision 97db4761382024093f441e4bc78ba8b6a056504d
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen/* max. size of input buffer. this means:
abf015c9682f0f723db87a7c97bc284ef814818fTimo Sirainen SASL: Max SASL request length from client
fa2a11210f20fb8998ed656f75e163191c8047e6Timo Sirainen IMAP: Max. length of a single parameter
fa2a11210f20fb8998ed656f75e163191c8047e6Timo Sirainen POP3: Max. length of a command line (spec says 512 would be enough)
d1fff80640050631b06bfab904a34b2ad24601e8Timo Sirainenstruct client *client_create(int fd, bool ssl, pool_t pool,
367e28a16854ee9f7247b2518f36f5e9163fcc10Timo Sirainenunsigned int clients_get_count(void) ATTR_PURE;
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainenvoid client_syslog(struct client *client, const char *msg);
367e28a16854ee9f7247b2518f36f5e9163fcc10Timo Sirainenvoid client_syslog_err(struct client *client, const char *msg);