diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:51:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:51:24 +0000 |
commit | f7548d6d28c313cf80e6f3ef89aed16a19815df1 (patch) | |
tree | a3f6f2a3f247293bee59ecd28e8cd8ceb6ca064a /src/pop3/pop3-common.h | |
parent | Initial commit. (diff) | |
download | dovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.tar.xz dovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.zip |
Adding upstream version 1:2.3.19.1+dfsg1.upstream/1%2.3.19.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/pop3/pop3-common.h')
-rw-r--r-- | src/pop3/pop3-common.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/pop3/pop3-common.h b/src/pop3/pop3-common.h new file mode 100644 index 0000000..eb3f521 --- /dev/null +++ b/src/pop3/pop3-common.h @@ -0,0 +1,27 @@ +#ifndef POP3_COMMON_H +#define POP3_COMMON_H + +enum uidl_keys { + UIDL_UIDVALIDITY = 0x01, + UIDL_UID = 0x02, + UIDL_MD5 = 0x04, + UIDL_FILE_NAME = 0x08, + UIDL_GUID = 0x10 +}; + +#include "lib.h" +#include "pop3-client.h" +#include "pop3-settings.h" + +typedef void pop3_client_created_func_t(struct client **client); + +extern pop3_client_created_func_t *hook_client_created; + +/* Sets the hook_client_created and returns the previous hook, + which the new_hook should call if it's non-NULL. */ +pop3_client_created_func_t * +pop3_client_created_hook_set(pop3_client_created_func_t *new_hook); + +void pop3_refresh_proctitle(void); + +#endif |