X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fmagic.h;h=9d399e307a5fe252321039b708053018054242b8;hb=ddd57c279f467e18c4fb3a661f21a069a5a37a1f;hp=38718fb5b955662e0fd47c12ee4fbb360754c3fe;hpb=f53a48eb9d74db3c71938e114b7f489c339bc003;p=ppp.git diff --git a/pppd/magic.h b/pppd/magic.h index 38718fb..9d399e3 100644 --- a/pppd/magic.h +++ b/pppd/magic.h @@ -39,8 +39,11 @@ * 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 $ + * $Id: magic.h,v 1.5 2003/06/11 23:56:26 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);