source: rtems/cpukit/pppd/rtemspppd.h @ c499856

4.11
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 * COPYRIGHT (c) 2001, Michael Siers <mikes@poliac.com>.
3 *                     Poliac Research, Burnsville, Minnesota USA.
4 * COPYRIGHT (c) 2001, On-Line Applications Research Corporation (OAR).
5 *
6 * The license and distribution terms for this file may be
7 * found in the file LICENSE in this distribution or at
8 * http://www.rtems.org/license/LICENSE.
9 *
10 *  $Id$
11 */
12
13#ifndef RTEMSPPPD_H
14#define RTEMSPPPD_H
15
16
17/* define hook function identifiers */
18#define RTEMS_PPPD_LINKUP_HOOK      1
19#define RTEMS_PPPD_LINKDOWN_HOOK    2
20#define RTEMS_PPPD_IPUP_HOOK        3
21#define RTEMS_PPPD_IPDOWN_HOOK      4
22#define RTEMS_PPPD_ERROR_HOOK       5
23#define RTEMS_PPPD_EXIT_HOOK        6
24
25/* define hook function pointer prototype */
26typedef void (*rtems_pppd_hookfunction)(void);
27typedef int  (*rtems_pppd_dialerfunction)(int tty, int mode, char *pScript);
28
29
30/* define pppd function prototyes */
31int rtems_pppd_initialize(void);
32int rtems_pppd_terminate(void);
33int rtems_pppd_reset_options(void);
34int rtems_pppd_set_hook(int id, rtems_pppd_hookfunction hookfp);
35int rtems_pppd_set_dialer(rtems_pppd_dialerfunction dialerfp);
36int rtems_pppd_set_option(const char *pOption, const char *pValue);
37int rtems_pppd_connect(void);
38int rtems_pppd_disconnect(void);
39
40#endif
Note: See TracBrowser for help on using the repository browser.