[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32610 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32610 - gnunet/src/util |
Date: |
Mon, 10 Mar 2014 15:13:32 +0100 |
Author: harsha
Date: 2014-03-10 15:13:32 +0100 (Mon, 10 Mar 2014)
New Revision: 32610
Added:
gnunet/src/util/speedup.h
Log:
- Add speedup.h
Added: gnunet/src/util/speedup.h
===================================================================
--- gnunet/src/util/speedup.h (rev 0)
+++ gnunet/src/util/speedup.h 2014-03-10 14:13:32 UTC (rev 32610)
@@ -0,0 +1,45 @@
+/*
+ This file is part of GNUnet.
+ (C) 2009 -- 2013 Christian Grothoff (and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file util/speedup.c
+ * @brief Interface for speedup routinues
+ * @author Sree Harsha Totakura <address@hidden>
+ */
+
+#ifndef SPEEDUP_H_
+#define SPEEDUP_H_
+
+/**
+ * Start task that may speed up our system clock artificially
+ *
+ * @param cfg configuration to use
+ * @return GNUNET_OK on success, GNUNET_SYSERR if the speedup was not
configured
+ */
+int
+GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg);
+
+/**
+ * Stop tasks that modify clock behavior.
+ */
+void
+GNUNET_SPEEDUP_stop_ (void);
+
+#endif /* SPEEDUP_H_ */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32610 - gnunet/src/util,
gnunet <=