]> git.ipfire.org Git - thirdparty/rng-tools.git/blobdiff - rngd_linux.h
Release version 5.
[thirdparty/rng-tools.git] / rngd_linux.h
index d16644b1cc279d78c19514138f5d95ae2f7790ee..6e62934adb064e4f0119a99d0ca6026f81d7b949 100644 (file)
@@ -15,7 +15,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA  02110-1335  USA
  */
 
 #ifndef RNGD_LINUX__H
@@ -26,6 +26,9 @@
 #include <unistd.h>
 #include <stdint.h>
 
+/* The default watermark level for this platform */
+extern int default_watermark(void);
+
 /*
  * Initialize the interface to the Linux Kernel
  * entropy pool (through /dev/random)
@@ -38,7 +41,7 @@ extern void init_kernel_rng(const char* randomdev);
 extern void random_add_entropy(void *buf, size_t size);
 
 /* Sleep until the kernel is hungry for entropy */
-extern void random_sleep(double poll_timeout);
+extern void random_sleep(void);
 
 #endif /* RNGD_LINUX__H */