1*d258785eSflorian /* $OpenBSD: frontend.h,v 1.4 2021/01/19 16:54:00 florian Exp $ */ 253293e44Sflorian 353293e44Sflorian /* 453293e44Sflorian * Copyright (c) 2018 Florian Obser <florian@openbsd.org> 553293e44Sflorian * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> 653293e44Sflorian * 753293e44Sflorian * Permission to use, copy, modify, and distribute this software for any 853293e44Sflorian * purpose with or without fee is hereby granted, provided that the above 953293e44Sflorian * copyright notice and this permission notice appear in all copies. 1053293e44Sflorian * 1153293e44Sflorian * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1253293e44Sflorian * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1353293e44Sflorian * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1453293e44Sflorian * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1553293e44Sflorian * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1653293e44Sflorian * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1753293e44Sflorian * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1853293e44Sflorian */ 1953293e44Sflorian 20a778af8bSflorian void frontend(int, int); 2153293e44Sflorian void frontend_dispatch_main(int, short, void *); 2253293e44Sflorian void frontend_dispatch_engine(int, short, void *); 2353293e44Sflorian int frontend_imsg_compose_main(int, pid_t, void *, uint16_t); 2453293e44Sflorian int frontend_imsg_compose_engine(int, pid_t, void *, uint16_t); 25