summaryrefslogtreecommitdiff
path: root/pppd/magic.h
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-02-24 11:21:42 -0700
committerVijay Kumar Banerjee <vijay@rtems.org>2021-03-02 14:25:24 -0700
commit2758ba07badfe41caab78f37ee2fddd368c58a85 (patch)
treeb1a031656d683954c1ed5c754018aab69914b248 /pppd/magic.h
parentb778d852b48ceeb4636216256bb629e714c73375 (diff)
Add pppd from RTEMS
Diffstat (limited to 'pppd/magic.h')
-rw-r--r--pppd/magic.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/pppd/magic.h b/pppd/magic.h
new file mode 100644
index 0000000..572a550
--- /dev/null
+++ b/pppd/magic.h
@@ -0,0 +1,23 @@
+/*
+ * magic.h - PPP Magic Number definitions.
+ *
+ * Copyright (c) 1989 Carnegie Mellon University.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by Carnegie Mellon University. The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Id$
+ */
+
+void magic_init(void); /* Initialize the magic number generator */
+uint32_t magic(void); /* Returns the next magic number */