auth-cache.c \
auth-client-connection.c \
auth-master-connection.c \
+ mech-otp-skey-common.c \
+ mech-plain-common.c \
auth-request.c \
auth-request-handler.c \
auth-settings.c \
mech-rpa.c \
mech-apop.c \
mech-winbind.c \
- otp-skey-common.c \
- plain-common.c \
passdb.c \
passdb-blocking.c \
passdb-bsdauth.c \
auth.h \
auth-cache.h \
auth-client-connection.h \
+ auth-common.h \
auth-master-interface.h \
auth-master-connection.h \
+ mech-otp-skey-common.h \
+ mech-plain-common.h \
auth-request.h \
auth-request-handler.h \
auth-settings.h \
db-ldap.h \
db-sql.h \
db-passwd-file.h \
- common.h \
db-checkpassword.h \
mech.h \
mycrypt.h \
- otp-skey-common.h \
- plain-common.h \
passdb.h \
passdb-blocking.h \
passdb-cache.h \
/* Copyright (c) 2004-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "lib-signals.h"
#include "hash.h"
#include "str.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "array.h"
#include "ioloop.h"
#include "istream.h"
-#ifndef COMMON_H
-#define COMMON_H
+#ifndef AUTH_COMMON_H
+#define AUTH_COMMON_H
#include "lib.h"
#include "auth.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "array.h"
#include "hash.h"
#include "str.h"
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "ioloop.h"
#include "array.h"
#include "aqueue.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "ioloop.h"
#include "buffer.h"
#include "hash.h"
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "str.h"
#include "ostream.h"
#include "auth-request.h"
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "base64.h"
#include "ioloop.h"
#include "network.h"
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "ioloop.h"
#include "array.h"
#include "aqueue.h"
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "network.h"
#include "array.h"
#include "str.h"
/* Copyright (c) 2004-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#if defined(PASSDB_CHECKPASSWORD) || defined(USERDB_CHECKPASSWORD)
/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#if defined(BUILTIN_LDAP) || defined(PLUGIN_BUILD)
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#if defined (USERDB_PASSWD_FILE) || defined(PASSDB_PASSWD_FILE)
/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#if defined(PASSDB_SQL) || defined(USERDB_SQL)
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "array.h"
#include "ioloop.h"
#include "network.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "mech.h"
static void
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "mech.h"
#include "passdb.h"
#include "md5.h"
/* CRAM-MD5 SASL authentication, see RFC-2195
Joshua Goodall <joshua@roughtrade.net> */
-#include "common.h"
+#include "auth-common.h"
#include "ioloop.h"
#include "buffer.h"
#include "hex-binary.h"
/* Digest-MD5 SASL authentication, see RFC-2831 */
-#include "common.h"
+#include "auth-common.h"
#include "base64.h"
#include "buffer.h"
#include "hex-binary.h"
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "env-util.h"
#include "str.h"
#include "str-sanitize.h"
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "mech.h"
#include "passdb.h"
#include "safe-memset.h"
-#include "plain-common.h"
+#include "mech-plain-common.h"
static void
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "mech.h"
#include "passdb.h"
#include "str.h"
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "hash.h"
#include "mech.h"
#include "otp.h"
-#include "otp-skey-common.h"
+#include "mech-otp-skey-common.h"
static struct hash_table *otp_lock_table;
-#ifndef OTP_SKEY_COMMON_H
-#define OTP_SKEY_COMMON_H
+#ifndef MECH_OTP_SKEY_COMMON_H
+#define MECH_OTP_SKEY_COMMON_H
struct otp_auth_request {
struct auth_request auth_request;
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "safe-memset.h"
#include "hash.h"
#include "mech.h"
#include "passdb.h"
#include "hex-binary.h"
#include "otp.h"
-#include "otp-skey-common.h"
+#include "mech-otp-skey-common.h"
static void
otp_send_challenge(struct auth_request *auth_request,
-#include "common.h"
+#include "auth-common.h"
#include "mech.h"
#include "passdb.h"
-#include "plain-common.h"
+#include "mech-plain-common.h"
void plain_verify_callback(enum passdb_result result,
struct auth_request *request)
-#ifndef PLAIN_COMMON_H
-#define PLAIN_COMMON_H
+#ifndef MECH_PLAIN_COMMON_H
+#define MECH_PLAIN_COMMON_H
void plain_verify_callback(enum passdb_result result,
struct auth_request *request);
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "safe-memset.h"
#include "mech.h"
#include "passdb.h"
-#include "plain-common.h"
+#include "mech-plain-common.h"
static void
mech_plain_auth_continue(struct auth_request *request,
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "mech.h"
#include "passdb.h"
#include "str.h"
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "safe-memset.h"
#include "hash.h"
#include "mech.h"
#include "passdb.h"
#include "hex-binary.h"
#include "otp.h"
-#include "otp-skey-common.h"
+#include "mech-otp-skey-common.h"
static void
skey_send_challenge(struct auth_request *auth_request,
* This software is released under the MIT license.
*/
-#include "common.h"
+#include "auth-common.h"
#include "lib-signals.h"
#include "mech.h"
#include "str.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "ioloop.h"
#include "mech.h"
#include "str.h"
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "str.h"
#include "auth-worker-server.h"
#include "password-scheme.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_BSDAUTH
/* Copyright (c) 2004-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "password-scheme.h"
#include "passdb.h"
#include "passdb-cache.h"
/* Copyright (c) 2004-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_CHECKPASSWORD
/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#if defined(PASSDB_LDAP) && (defined(BUILTIN_LDAP) || defined(PLUGIN_BUILD))
modified versions are marked as such. There's absolutely no warranty.
*/
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_PAM
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_PASSWD_FILE
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_PASSWD
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_SHADOW
/* Tru64 SIA support */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_SIA
/* Copyright (c) 2004-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_SQL
/* Thanks to Courier-IMAP for showing how the vpopmail API should be used */
-#include "common.h"
+#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_VPOPMAIL
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "array.h"
#include "password-scheme.h"
#include "auth-worker-server.h"
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "str.h"
#include "auth-worker-server.h"
#include "userdb.h"
/* Copyright (c) 2004-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "userdb.h"
#ifdef USERDB_CHECKPASSWORD
/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "userdb.h"
#if defined(USERDB_LDAP) && (defined(BUILTIN_LDAP) || defined(PLUGIN_BUILD))
/* Currently supports only GLIBC-compatible NSS modules */
-#include "common.h"
+#include "auth-common.h"
#include "userdb.h"
#ifdef USERDB_NSS
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "userdb.h"
#ifdef USERDB_PASSWD_FILE
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "userdb.h"
#ifdef USERDB_PASSWD
/* Copyright (c) 2004-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "userdb.h"
#ifdef USERDB_PREFETCH
/* Copyright (c) 2004-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "userdb.h"
#ifdef USERDB_SQL
/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "array.h"
#include "str.h"
/* Thanks to Courier-IMAP for showing how the vpopmail API should be used */
-#include "common.h"
+#include "auth-common.h"
#include "userdb.h"
#if defined(PASSDB_VPOPMAIL) || defined(USERDB_VPOPMAIL)
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "auth-common.h"
#include "array.h"
#include "auth-worker-server.h"
#include "userdb.h"
imap_SOURCES = \
$(cmds) \
- client.c \
- commands.c \
- commands-util.c \
+ imap-client.c \
+ imap-commands.c \
+ imap-commands-util.c \
imap-expunge.c \
imap-fetch.c \
imap-fetch-body.c \
headers = \
- client.h \
- commands.h \
- commands-util.h \
- common.h \
+ imap-client.h \
+ imap-commands.h \
+ imap-commands-util.h \
+ imap-common.h \
imap-expunge.h \
imap-fetch.h \
imap-search.h \
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "ioloop.h"
#include "istream.h"
#include "ostream.h"
#include "str.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-parser.h"
#include "imap-date.h"
#include "mail-storage.h"
/* Copyright (c) 2008-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
static bool client_search_update_cancel(struct client *client, const char *tag)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
#include "str.h"
bool cmd_capability(struct client_command_context *cmd)
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_check(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
#include "imap-expunge.h"
bool cmd_close(struct client_command_context *cmd)
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "str.h"
#include "ostream.h"
#include "imap-resp-code.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-search-args.h"
#include <time.h>
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "mail-namespace.h"
-#include "commands.h"
+#include "imap-commands.h"
bool cmd_create(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_delete(struct client_command_context *cmd)
{
/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "str.h"
bool cmd_enable(struct client_command_context *cmd)
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_examine(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
#include "imap-search-args.h"
#include "imap-expunge.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "ostream.h"
#include "imap-resp-code.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-fetch.h"
#include "imap-search-args.h"
#include "mail-search.h"
/* Copyright (c) 2008-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "imap-id.h"
bool cmd_id(struct client_command_context *cmd)
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "ioloop.h"
#include "istream.h"
#include "ostream.h"
#include "mail-storage-settings.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-sync.h"
#include <stdlib.h>
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "array.h"
#include "str.h"
#include "strescape.h"
#include "imap-quote.h"
#include "imap-match.h"
#include "imap-status.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "mail-namespace.h"
struct cmd_list_context {
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "ostream.h"
-#include "commands.h"
+#include "imap-commands.h"
bool cmd_logout(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_lsub(struct client_command_context *cmd)
{
/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "str.h"
#include "imap-quote.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "mail-namespace.h"
static void list_namespaces(struct mail_namespace *ns,
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_noop(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "mail-namespace.h"
-#include "commands.h"
+#include "imap-commands.h"
bool cmd_rename(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "imap-search-args.h"
#include "imap-search.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "seq-range-array.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "mail-search-build.h"
#include "imap-seqset.h"
#include "imap-fetch.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "buffer.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-search-args.h"
#include "imap-search.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "imap-resp-code.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-sync.h"
#include "imap-status.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "seq-range-array.h"
#include "str.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-search-args.h"
#include "imap-util.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
#include "mail-namespace.h"
static bool have_listable_namespace_prefix(struct mail_namespace *ns,
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "str.h"
#include "ostream.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-search-args.h"
#include "mail-thread.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_uid(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_unselect(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_unsubscribe(struct client_command_context *cmd)
{
/* Copyright (c) 2006-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
-#include "commands.h"
+#include "imap-common.h"
+#include "imap-commands.h"
bool cmd_x_cancel(struct client_command_context *cmd)
{
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "ioloop.h"
#include "llist.h"
#include "str.h"
#include "imap-resp-code.h"
#include "imap-util.h"
#include "mail-namespace.h"
-#include "commands.h"
+#include "imap-commands.h"
#include <stdlib.h>
#include <unistd.h>
-#ifndef CLIENT_H
-#define CLIENT_H
+#ifndef IMAP_CLIENT_H
+#define IMAP_CLIENT_H
-#include "commands.h"
+#include "imap-commands.h"
#define CLIENT_COMMAND_QUEUE_MAX_SIZE 4
/* Maximum number of CONTEXT=SEARCH UPDATEs. Clients probably won't need more
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "array.h"
#include "buffer.h"
#include "str.h"
#include "imap-util.h"
#include "mail-storage.h"
#include "mail-namespace.h"
-#include "commands-util.h"
+#include "imap-commands-util.h"
/* Maximum length for mailbox name, including it's path. This isn't fully
exact since the user can create folder hierarchy with small names, then
-#ifndef COMMANDS_UTIL_H
-#define COMMANDS_UTIL_H
+#ifndef IMAP_COMMANDS_UTIL_H
+#define IMAP_COMMANDS_UTIL_H
struct msgset_generator_context {
string_t *str;
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "array.h"
#include "buffer.h"
-#include "commands.h"
+#include "imap-commands.h"
#include <stdlib.h>
-#ifndef COMMANDS_H
-#define COMMANDS_H
+#ifndef IMAP_COMMANDS_H
+#define IMAP_COMMANDS_H
struct client_command_context;
#include "mail-storage.h"
#include "imap-parser.h"
#include "imap-sync.h"
-#include "commands-util.h"
+#include "imap-commands-util.h"
typedef bool command_func_t(struct client_command_context *cmd);
-#ifndef COMMON_H
-#define COMMON_H
+#ifndef IMAP_COMMON_H
+#define IMAP_COMMON_H
/* Disconnect client after idling this many milliseconds */
#define CLIENT_IDLE_TIMEOUT_MSECS (60*30*1000)
};
#include "lib.h"
-#include "client.h"
+#include "imap-client.h"
#include "imap-settings.h"
extern struct master_service *service;
/* Copyright (c) 2003-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "mail-storage.h"
#include "mail-search-build.h"
#include "imap-expunge.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "buffer.h"
#include "str.h"
#include "strescape.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "array.h"
#include "buffer.h"
#include "istream.h"
#include "message-size.h"
#include "imap-date.h"
#include "mail-search-build.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-quote.h"
#include "imap-fetch.h"
#include "imap-util.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "mail-storage.h"
#include "mail-search-build.h"
#include "imap-search-args.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "ostream.h"
#include "str.h"
#include "seq-range-array.h"
#include "imap-seqset.h"
#include "imap-util.h"
#include "mail-search-build.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "imap-search-args.h"
#include "imap-search.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "str.h"
#include "imap-quote.h"
#include "imap-status.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "str.h"
#include "ostream.h"
#include "mail-storage.h"
#include "imap-quote.h"
#include "imap-util.h"
#include "imap-sync.h"
-#include "commands.h"
+#include "imap-commands.h"
struct client_sync_context {
/* if multiple commands are in progress, we may need to wait for them
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "ostream.h"
#include "mail-storage.h"
-#include "commands-util.h"
+#include "imap-commands-util.h"
static void notify_ok(struct mailbox *mailbox ATTR_UNUSED,
const char *text, void *context)
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "ioloop.h"
#include "istream.h"
#include "ostream.h"
#include "master-service.h"
#include "mail-user.h"
#include "mail-storage-service.h"
-#include "commands.h"
+#include "imap-commands.h"
#include <stdio.h>
#include <stdlib.h>
/* Copyright (c) 2008-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "str.h"
#include "imap-quote.h"
#include "imap-resp-code.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "mail-storage.h"
#include "mail-namespace.h"
#include "acl-api.h"
/* Copyright (c) 2005-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "imap-common.h"
#include "str.h"
#include "imap-quote.h"
#include "mail-namespace.h"
-#include "commands.h"
+#include "imap-commands.h"
#include "quota.h"
#include "quota-plugin.h"
#include "imap-quota-plugin.h"
#include "str.h"
#include "str-sanitize.h"
#include "auth-client.h"
-#include "../pop3/capability.h"
+#include "../pop3/pop3-capability.h"
#include "ssl-proxy.h"
#include "client.h"
#include "client-authenticate.h"
pop3_DEPENDENCIES = $(libs)
pop3_SOURCES = \
- client.c \
- commands.c \
main.c \
+ pop3-client.c \
+ pop3-commands.c \
pop3-settings.c
headers = \
- capability.h \
- client.h \
- commands.h \
- common.h \
+ pop3-capability.h \
+ pop3-client.h \
+ pop3-commands.h \
+ pop3-common.h \
pop3-settings.h
if INSTALL_HEADERS
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "pop3-common.h"
#include "ioloop.h"
#include "istream.h"
#include "buffer.h"
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "pop3-common.h"
#include "buffer.h"
#include "ioloop.h"
#include "network.h"
#include "var-expand.h"
#include "master-service.h"
#include "mail-storage.h"
-#include "commands.h"
+#include "pop3-commands.h"
#include "mail-search-build.h"
#include "mail-namespace.h"
-#ifndef CLIENT_H
-#define CLIENT_H
+#ifndef POP3_CLIENT_H
+#define POP3_CLIENT_H
struct client;
struct mail_storage;
/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */
-#include "common.h"
+#include "pop3-common.h"
#include "array.h"
#include "istream.h"
#include "ostream.h"
#include "mail-storage.h"
#include "mail-storage-settings.h"
#include "mail-search-build.h"
-#include "capability.h"
-#include "commands.h"
+#include "pop3-capability.h"
+#include "pop3-commands.h"
static const char *get_msgnum(struct client *client, const char *args,
unsigned int *msgnum)
-#ifndef COMMANDS_H
-#define COMMANDS_H
+#ifndef POP3_COMMANDS_H
+#define POP3_COMMANDS_H
int client_command_execute(struct client *client,
const char *name, const char *args);
-#ifndef COMMON_H
-#define COMMON_H
+#ifndef POP3_COMMON_H
+#define POP3_COMMON_H
enum client_workarounds {
WORKAROUND_OUTLOOK_NO_NULS = 0x01,
};
#include "lib.h"
-#include "client.h"
+#include "pop3-client.h"
#include "pop3-settings.h"
extern struct master_service *service;