mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 10:11:53 +00:00
35 lines
698 B
C
35 lines
698 B
C
#include "sysdep/config.h"
|
|
#include "lib/event.c" /* REMOVE ME */
|
|
#include "lib/ip.c" /* REMOVE ME */
|
|
#include "lib/resource.c" /* REMOVE ME */
|
|
#include "lib/printf.c" /* REMOVE ME */
|
|
#include "lib/xmalloc.c" /* REMOVE ME */
|
|
#include "lib/bitops.c" /* REMOVE ME */
|
|
|
|
#define bug(msg, ...) debug("BUG: " msg, ##__VA_ARGS__)
|
|
|
|
void
|
|
debug(const char *msg, ...)
|
|
{
|
|
va_list argptr;
|
|
va_start(argptr, msg);
|
|
vfprintf(stderr, msg, argptr);
|
|
va_end(argptr);
|
|
};
|
|
|
|
void
|
|
die(const char *msg, ...)
|
|
{
|
|
va_list argptr;
|
|
va_start(argptr, msg);
|
|
vfprintf(stderr, msg, argptr);
|
|
va_end(argptr);
|
|
exit(3);
|
|
};
|
|
|
|
void
|
|
io_log_event(void *hook, void *data)
|
|
{
|
|
bt_debug("This is io_log_event mockup. \n");
|
|
};
|