aboutsummaryrefslogtreecommitdiff
path: root/src/util/service.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2014-03-10 13:51:09 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2014-03-10 13:51:09 +0000
commitf4a2046b53dbe54ee9f101ea6d2a5d981290faf4 (patch)
treeae1a6deaaa09e72d6f83392db6e097046069dd0e /src/util/service.c
parent2688a53703e3e1b4353aee8fc425fd1f6a793125 (diff)
downloadgnunet-f4a2046b53dbe54ee9f101ea6d2a5d981290faf4.tar.gz
gnunet-f4a2046b53dbe54ee9f101ea6d2a5d981290faf4.zip
- Expose speedup routines as an internal header.
Diffstat (limited to 'src/util/service.c')
-rw-r--r--src/util/service.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/util/service.c b/src/util/service.c
index deb0be46b..ef6206bdc 100644
--- a/src/util/service.c
+++ b/src/util/service.c
@@ -28,6 +28,7 @@
28#include "gnunet_protocols.h" 28#include "gnunet_protocols.h"
29#include "gnunet_constants.h" 29#include "gnunet_constants.h"
30#include "gnunet_resolver_service.h" 30#include "gnunet_resolver_service.h"
31#include "speedup.h"
31 32
32#if HAVE_MALLINFO 33#if HAVE_MALLINFO
33#include <malloc.h> 34#include <malloc.h>
@@ -45,22 +46,6 @@
45/* ******************* access control ******************** */ 46/* ******************* access control ******************** */
46 47
47/** 48/**
48 * Start task that may speed up our system clock artificially
49 *
50 * @param cfg configuration to use
51 * @return GNUNET_OK on success, GNUNET_SYSERR if the speedup was not configured
52 */
53int
54GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg);
55
56/**
57 * Stop tasks that modify clock behavior.
58 */
59void
60GNUNET_SPEEDUP_stop_ (void);
61
62
63/**
64 * Check if the given IP address is in the list of IP addresses. 49 * Check if the given IP address is in the list of IP addresses.
65 * 50 *
66 * @param list a list of networks 51 * @param list a list of networks