File: krnlop.h

package info (click to toggle)
ekeyd 1.1.3-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 628 kB
  • ctags: 859
  • sloc: ansic: 5,189; sh: 271; makefile: 199; perl: 148
file content (21 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* daemon/krnlop.h
 *
 * Kernel /dev/random output stream
 *
 * Copyright 2009 Simtec Electronics
 *
 * For licence terms refer to the COPYING file.
 */

#ifndef DAEMON_KRNLOP_H
#define DAEMON_KRNLOP_H

/** Open the systems kernel pool to accept entropy.
 *
 * @param path The path to the device node to open.
 * @param bpb The number of shannons per byte to claim during insertion.
 * @return The stream handle or NULL and errno set.
 */
estream_state_t *estream_krnl_open(const char *path, int bpb);

#endif