]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/magic.h
pppd.8: Document netmask option
[ppp.git] / pppd / magic.h
index c81213b40545bd204818a4f1053c6aeba5151a53..68cbf9be24d395d92cb53610c0e410d6623df3f3 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.5 2003/06/11 23:56:26 paulus Exp $
  */
+#ifndef PPP_MAGIC_H
+#define PPP_MAGIC_H
+
+#include "pppdconf.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
-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 __P((unsigned char *buf, int len));
+void random_bytes (unsigned char *buf, int len);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // PPP_MAGIC_H