Lines Matching defs:mproc

975 struct mproc {
979 void (*handler)(struct mproc *, struct imsg *);
1007 extern struct mproc *p_control;
1008 extern struct mproc *p_parent;
1009 extern struct mproc *p_lka;
1010 extern struct mproc *p_queue;
1011 extern struct mproc *p_scheduler;
1012 extern struct mproc *p_dispatcher;
1013 extern struct mproc *p_ca;
1016 extern void (*imsg_callback)(struct mproc *, struct imsg *);
1275 void ca_imsg(struct mproc *, struct imsg *);
1315 void dns_imsg(struct mproc *, struct imsg *);
1416 void mda_imsg(struct mproc *, struct imsg *);
1444 /* mproc.c */
1445 int mproc_fork(struct mproc *, const char*, char **);
1446 void mproc_init(struct mproc *, int);
1447 void mproc_clear(struct mproc *);
1448 void mproc_enable(struct mproc *);
1449 void mproc_disable(struct mproc *);
1450 void mproc_event_add(struct mproc *);
1451 void m_compose(struct mproc *, uint32_t, uint32_t, pid_t, int, void *, size_t);
1452 void m_composev(struct mproc *, uint32_t, uint32_t, pid_t, int,
1454 void m_forward(struct mproc *, struct imsg *);
1455 void m_create(struct mproc *, uint32_t, uint32_t, pid_t, int);
1456 void m_add(struct mproc *, const void *, size_t);
1457 void m_add_int(struct mproc *, int);
1458 void m_add_u32(struct mproc *, uint32_t);
1459 void m_add_size(struct mproc *, size_t);
1460 void m_add_time(struct mproc *, time_t);
1461 void m_add_timeval(struct mproc *, struct timeval *tv);
1462 void m_add_string(struct mproc *, const char *);
1463 void m_add_data(struct mproc *, const void *, size_t);
1464 void m_add_evpid(struct mproc *, uint64_t);
1465 void m_add_msgid(struct mproc *, uint32_t);
1466 void m_add_id(struct mproc *, uint64_t);
1467 void m_add_sockaddr(struct mproc *, const struct sockaddr *);
1468 void m_add_mailaddr(struct mproc *, const struct mailaddr *);
1469 void m_add_envelope(struct mproc *, const struct envelope *);
1470 void m_add_params(struct mproc *, struct dict *);
1471 void m_close(struct mproc *);
1472 void m_flush(struct mproc *);
1497 void mta_imsg(struct mproc *, struct imsg *);
1512 void mta_session_imsg(struct mproc *, struct imsg *);
1579 void dispatcher_imsg(struct mproc *, struct imsg *);
1589 void resolver_dispatch_request(struct mproc *, struct imsg *);
1590 void resolver_dispatch_result(struct mproc *, struct imsg *);
1596 void smtp_imsg(struct mproc *, struct imsg *);
1604 void smtp_session_imsg(struct mproc *, struct imsg *);
1608 void imsg_dispatch(struct mproc *, struct imsg *);