summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/rtemspppd.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-09-23 14:20:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-09-30 14:06:09 +0200
commit805360b8e50e69573ec446674f640c9b7704cb34 (patch)
treeebb4d19349899c1b461ea5ecf53cede08dbfcce2 /cpukit/pppd/rtemspppd.h
parentlibnetworking: Update due to Termios changes (diff)
downloadrtems-805360b8e50e69573ec446674f640c9b7704cb34.tar.bz2
pppd: Fix warnings
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