diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2014-03-10 13:51:09 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2014-03-10 13:51:09 +0000 |
commit | f4a2046b53dbe54ee9f101ea6d2a5d981290faf4 (patch) | |
tree | ae1a6deaaa09e72d6f83392db6e097046069dd0e /src/util/program.c | |
parent | 2688a53703e3e1b4353aee8fc425fd1f6a793125 (diff) | |
download | gnunet-f4a2046b53dbe54ee9f101ea6d2a5d981290faf4.tar.gz gnunet-f4a2046b53dbe54ee9f101ea6d2a5d981290faf4.zip |
- Expose speedup routines as an internal header.
Diffstat (limited to 'src/util/program.c')
-rw-r--r-- | src/util/program.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/util/program.c b/src/util/program.c index 1d26cf937..19e0ae97b 100644 --- a/src/util/program.c +++ b/src/util/program.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_resolver_service.h" | 29 | #include "gnunet_resolver_service.h" |
30 | #include "gnunet_constants.h" | 30 | #include "gnunet_constants.h" |
31 | #include "speedup.h" | ||
31 | #include <gcrypt.h> | 32 | #include <gcrypt.h> |
32 | 33 | ||
33 | #define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__) | 34 | #define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__) |
@@ -68,23 +69,6 @@ struct CommandContext | |||
68 | 69 | ||
69 | 70 | ||
70 | /** | 71 | /** |
71 | * Start task that may speed up our system clock artificially | ||
72 | * | ||
73 | * @param cfg configuration to use | ||
74 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if the speedup was not configured | ||
75 | */ | ||
76 | int | ||
77 | GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg); | ||
78 | |||
79 | |||
80 | /** | ||
81 | * Stop tasks that modify clock behavior. | ||
82 | */ | ||
83 | void | ||
84 | GNUNET_SPEEDUP_stop_ (void); | ||
85 | |||
86 | |||
87 | /** | ||
88 | * Initial task called by the scheduler for each | 72 | * Initial task called by the scheduler for each |
89 | * program. Runs the program-specific main task. | 73 | * program. Runs the program-specific main task. |
90 | */ | 74 | */ |