File: pptp_compat.h

package info (click to toggle)
pptp-linux 1.7.2-5
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 432 kB
  • ctags: 559
  • sloc: ansic: 3,471; perl: 134; makefile: 109
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 */