summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/rtemspppd.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/pppd/rtemspppd.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/cpukit/pppd/rtemspppd.h b/cpukit/pppd/rtemspppd.h
index d927650707..a6c8d0b398 100644
--- a/cpukit/pppd/rtemspppd.h
+++ b/cpukit/pppd/rtemspppd.h
@@ -6,13 +6,14 @@
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
- *
- * $Id$
*/
#ifndef RTEMSPPPD_H
#define RTEMSPPPD_H
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
/* define hook function identifiers */
#define RTEMS_PPPD_LINKUP_HOOK 1
@@ -37,4 +38,12 @@ int rtems_pppd_set_option(const char *pOption, const char *pValue);
int rtems_pppd_connect(void);
int rtems_pppd_disconnect(void);
+struct rtems_bsdnet_ifconfig;
+
+int rtems_ppp_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif