pppLib.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* pppLib.h - Point-to-Point Protocol library header */
  2. /* Copyright 1995 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01d,30nov95,vin  included pppHookLib.h.
  7. 01c,16jun95,dzb  defined VJC for overall compile-time VJ compression control.
  8. 01b,09may95,dzb  added inclusion of pppSecretLib.h.
  9. 01a,07mar95,dzb  written.
  10. */
  11. #ifndef __INCpppLibh
  12. #define __INCpppLibh
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #define VJC /* define for VJ compression support */
  17. #include "netinet/ppp/pppd.h"
  18. #include "netinet/ppp/pppSecretLib.h"
  19. #include "netinet/ppp/pppShow.h"
  20. #include "netinet/ppp/pppHookLib.h"
  21. #if defined(__STDC__) || defined(__cplusplus)
  22. extern int pppInit (int unit, char *devname, char *local_addr,
  23. char *remote_addr, int baud, PPP_OPTIONS *pOptions,
  24. char *fOptions);
  25. extern void pppDelete (int unit);
  26. #else /* __STDC__ */
  27. extern int pppInit ();
  28. extern void pppDelete ();
  29. #endif /* __STDC__ */
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* __INCpppLibh */