Last change
on this file since 5ee5c331 was
d17d9c81,
checked in by cvs2git <rtems-devel@…>, on 05/27/03 at 16:17:32
|
This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-05-27 16:17:31 UTC Ralf Corsepius <ralf.corsepius@…> '2003-05-27 Ralf Corsepius <corsepiu@…>':
c/src/tests/samples/pppd/.cvsignore
c/src/tests/samples/pppd/Makefile-user
c/src/tests/samples/pppd/Makefile.am
c/src/tests/samples/pppd/README
c/src/tests/samples/pppd/init.c
c/src/tests/samples/pppd/netconfig.h
c/src/tests/samples/pppd/ppp.conf
c/src/tests/samples/pppd/pppd.options
c/src/tests/samples/pppd/pppdapp.c
c/src/tests/samples/pppd/system.h
cpukit/include/rtems/stdint.h
|
-
Property mode set to
100644
|
File size:
422 bytes
|
Rev | Line | |
---|
[d17d9c81] | 1 | |
---|
| 2 | #include <stdio.h> |
---|
| 3 | #include <stdlib.h> |
---|
| 4 | #include <string.h> |
---|
| 5 | #include <rtems/rtems_bsdnet.h> |
---|
| 6 | #include <rtemspppd.h> |
---|
| 7 | |
---|
| 8 | #define CONFIGURE_INIT |
---|
| 9 | #include "system.h" |
---|
| 10 | #include "netconfig.h" |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | extern int pppdapp_initialize(void); |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | rtems_task Init(rtems_task_argument argument) |
---|
| 17 | { |
---|
| 18 | /* initialize network */ |
---|
| 19 | rtems_bsdnet_initialize_network(); |
---|
| 20 | rtems_pppd_initialize(); |
---|
| 21 | pppdapp_initialize(); |
---|
| 22 | |
---|
| 23 | rtems_task_delete(RTEMS_SELF); |
---|
| 24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.