/*
process.c -- process management functions
Copyright (C) 1999-2005 Ivo Timmermans,
- 2000-2009 Guus Sliepen <guus@tinc-vpn.org>
+ 2000-2011 Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "device.h"
#include "edge.h"
#include "logger.h"
+#include "net.h"
#include "node.h"
#include "pidfile.h"
#include "process.h"
extern char *pidfilename;
extern char **g_argv;
extern bool use_logfile;
-extern volatile bool running;
#ifndef HAVE_MINGW
-sigset_t emptysigset;
+static sigset_t emptysigset;
#endif
static int saved_debug_level = -1;
}
static RETSIGTYPE sigusr2_handler(int a) {
- dump_device_stats();
+ devops.dump_stats();
dump_nodes();
dump_edges();
dump_subnets();