3 * ________ _________ ____ / __ \/ ___/
4 * / ___/ _ \/ ___/ __ \/ __ \/ / / /\__ \
5 * / / / __/ /__/ /_/ / / / / /_/ /___/ /
6 * /_/ \___/\___/\____/_/ /_/\____//____/
8 * ======================================================================
10 * title: ReconOS library - Utils
13 * author: Andreas Agne, University of Paderborn
14 * Markus Happe, University of Paderborn
15 * Daniel Borkmann, ETH Zürich
16 * Sebastian Meisner, University of Paderborn
17 * Christoph Rüthing, University of Paderborn
18 * description: Some simple helper funtions
20 * ======================================================================
23 #ifndef RECONOS_UTILS_H
24 #define RECONOS_UTILS_H
31 static inline void die() {
35 static inline void panic(char *msg
, ...) {
39 vfprintf(stderr
, msg
, vl
);
46 static inline void whine(char *msg
, ...) {
50 vfprintf(stderr
, msg
, vl
);
56 #endif /* RECONOS_UTILS_H */