Cross Reference: doveadm.h
xref
: /
dovecot
/
src
/
doveadm
/
doveadm.h
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
a6ab8f00351265e35b79f3a22b1f5a4978ae5c35
Timo Sirainen
#
ifndef
DOVEADM_H
a6ab8f00351265e35b79f3a22b1f5a4978ae5c35
Timo Sirainen
#
define
DOVEADM_H
a6ab8f00351265e35b79f3a22b1f5a4978ae5c35
Timo Sirainen
5fbccc935e3f7b916aa7c6e302a212821072e83a
Timo Sirainen
#
include
<
sysexits.h
>
1c633f71ec2060e5bfa500a97f34cd881a958ecd
Timo Sirainen
#
include
"
doveadm-util.h
"
1c7b846a17612b1fe7dcee797d0d8115201e58f4
Timo Sirainen
#
include
"
doveadm-settings.h
"
1c7b846a17612b1fe7dcee797d0d8115201e58f4
Timo Sirainen
acc039dfc0b0f4588cf2feec04727b61e1c672a1
Timo Sirainen
#
define
USAGE_CMDNAME_FMT
" %-12s"
acc039dfc0b0f4588cf2feec04727b61e1c672a1
Timo Sirainen
5fbccc935e3f7b916aa7c6e302a212821072e83a
Timo Sirainen
#
define
DOVEADM_EX_NOTFOUND
EX_NOHOST
5fbccc935e3f7b916aa7c6e302a212821072e83a
Timo Sirainen
#
define
DOVEADM_EX_NOTPOSSIBLE
EX_DATAERR
c466bbccb4b8b0026aea13540ebdef3bddbd67dd
Aki Tuomi
#
define
DOVEADM_EX_UNKNOWN
-
1
5fbccc935e3f7b916aa7c6e302a212821072e83a
Timo Sirainen
7f0dcac9942910c2934ceab1230e539043167601
Aki Tuomi
#
define
DOVEADM_EX_NOREPLICATE
1001
7f0dcac9942910c2934ceab1230e539043167601
Aki Tuomi
6fc40674e5a33787ae7fcd47a77a77ea20977994
Aki Tuomi
enum
doveadm_client_type
{
6fc40674e5a33787ae7fcd47a77a77ea20977994
Aki Tuomi
DOVEADM_CONNECTION_TYPE_CLI
= 0,
6fc40674e5a33787ae7fcd47a77a77ea20977994
Aki Tuomi
DOVEADM_CONNECTION_TYPE_TCP
,
6fc40674e5a33787ae7fcd47a77a77ea20977994
Aki Tuomi
DOVEADM_CONNECTION_TYPE_HTTP
,
2ba5e7dcc2a280904fe8a7af12c63f65bd5bee10
Aki Tuomi
};
2ba5e7dcc2a280904fe8a7af12c63f65bd5bee10
Aki Tuomi
2ba5e7dcc2a280904fe8a7af12c63f65bd5bee10
Aki Tuomi
#
include
"
doveadm-cmd.h
"
2ba5e7dcc2a280904fe8a7af12c63f65bd5bee10
Aki Tuomi
5e327e031d1591f8bff17b67eba7139afbd36cdd
Timo Sirainen
extern
bool
doveadm_verbose_proctitle
;
5fbccc935e3f7b916aa7c6e302a212821072e83a
Timo Sirainen
extern
int
doveadm_exit_code
;
5fbccc935e3f7b916aa7c6e302a212821072e83a
Timo Sirainen
e376e08040b5f21ff79a15ae728d2532a34207f6
Timo Sirainen
void
usage
(
void
)
ATTR_NORETURN
;
9ce62fcb795a4bb57f1c003fc8cbd63bff6e5463
Timo Sirainen
void
help
(
const
struct
doveadm_cmd
*
cmd
)
ATTR_NORETURN
;
14af7be4aa26d55c341cd6efe32bb2add2c39830
Aki Tuomi
void
help_ver2
(
const
struct
doveadm_cmd_ver2
*
cmd
)
ATTR_NORETURN
;
bf333c7645b8ddb6eedd6834db2fd908888793e1
Timo Sirainen
void
doveadm_master_send_signal
(
int
signo
);
bf333c7645b8ddb6eedd6834db2fd908888793e1
Timo Sirainen
c466bbccb4b8b0026aea13540ebdef3bddbd67dd
Aki Tuomi
const
char
*
doveadm_exit_code_to_str
(
int
code
);
c466bbccb4b8b0026aea13540ebdef3bddbd67dd
Aki Tuomi
int
doveadm_str_to_exit_code
(
const
char
*
reason
);
c466bbccb4b8b0026aea13540ebdef3bddbd67dd
Aki Tuomi
a6ab8f00351265e35b79f3a22b1f5a4978ae5c35
Timo Sirainen
#
endif