Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / usr.sbin / pppd / magic.h
1 /*
2  * magic.h - PPP Magic Number definitions.
3  *
4  * Copyright (c) 1989 Carnegie Mellon University.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms are permitted
8  * provided that the above copyright notice and this paragraph are
9  * duplicated in all such forms and that any documentation,
10  * advertising materials, and other materials related to such
11  * distribution and use acknowledge that the software was developed
12  * by Carnegie Mellon University.  The name of the
13  * University may not be used to endorse or promote products derived
14  * from this software without specific prior written permission.
15  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18  *
19  * $FreeBSD: src/usr.sbin/pppd/magic.h,v 1.7 1999/08/28 01:19:05 peter Exp $
20  * $DragonFly: src/usr.sbin/pppd/magic.h,v 1.3 2003/11/03 19:31:40 eirikn Exp $
21  */
22
23 void magic_init(void);  /* Initialize the magic number generator */
24 u_int32_t magic(void);  /* Returns the next magic number */