File: pptp_compat.h

package info (click to toggle)
pptp-linux 1.9.0%2Bds-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 596 kB
  • ctags: 662
  • sloc: ansic: 3,667; makefile: 139; perl: 113
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 */