]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/magic.h
pppd: Make _PATH_CONNERRS world readable (#194)
[ppp.git] / pppd / magic.h
index 38718fb5b955662e0fd47c12ee4fbb360754c3fe..d6094db867b1e3c93c2b8cb035d290576ea024fa 100644 (file)
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * $Id: magic.h,v 1.4 2002/12/04 23:03:32 paulus Exp $
  */
 
-void magic_init __P((void));   /* Initialize the magic number generator */
-u_int32_t magic __P((void));   /* Returns the next magic number */
+void magic_init (void);        /* Initialize the magic number generator */
+u_int32_t magic (void);        /* Returns the next magic number */
+
+/* Fill buffer with random bytes */
+void random_bytes (unsigned char *buf, int len);