-/* $OpenBSD: smtpd.h,v 1.620 2019/02/28 13:23:32 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.621 2019/04/08 08:22:32 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
extern struct smtpd *env;
extern void (*imsg_callback)(struct mproc *, struct imsg *);
-struct imsgproc {
- pid_t pid;
- struct event ev;
- struct imsgbuf *ibuf;
- char *path;
- char *name;
- void (*cb)(struct imsg *, void *);
- void *cb_arg;
-};
-
/* inter-process structures */
struct bounce_req_msg {
int forwards_get(int, struct expand *);
-/* imsgproc.c */
-void imsgproc_init(void);
-struct imsgproc *imsgproc_fork(const char *, const char *,
- void (*)(struct imsg *, void *), void *);
-void imsgproc_set_read(struct imsgproc *);
-void imsgproc_set_write(struct imsgproc *);
-void imsgproc_set_read_write(struct imsgproc *);
-void imsgproc_reset_callback(struct imsgproc *, void (*)(struct imsg *, void *), void *);
-
-
/* limit.c */
void limit_mta_set_defaults(struct mta_limits *);
int limit_mta_set(struct mta_limits *, const char*, int64_t);