File: pptp_compat.h

package info (click to toggle)
pptp-linux 1.10.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 640 kB
  • sloc: ansic: 3,689; makefile: 142; perl: 117
file content (18 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* pptp_compat.h ... Compatibility functions
 *
 */

#if defined (__SVR4) && defined (__sun) /* Solaris */
#include <sys/termios.h>

#define u_int8_t  uint8_t
#define u_int16_t uint16_t
#define u_int32_t uint32_t

#ifndef INADDR_NONE
#define INADDR_NONE 0xffffffffU
#endif

int daemon(int nochdir, int noclose);
int openpty(int *amaster, int *aslave, char *name, struct termios *termp, struct winsize * winp); 
#endif /* Solaris */