| 1 /* This file is part of the Project Athena Zephyr Notification System. |
1 /* This file is part of the Project Athena Zephyr Notification System. |
| 2 * It contains source for the internal Zephyr routines. |
2 * It contains source for the internal Zephyr routines. |
| 3 * |
3 * |
| 4 * Created by: Robert French |
4 * Created by: Robert French |
| 5 * |
|
| 6 * $Source$ |
|
| 7 * $Author: thekingant $ |
|
| 8 * |
5 * |
| 9 * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of |
6 * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of |
| 10 * Technology. |
7 * Technology. |
| 11 * For copying and distribution information, see the file |
8 * For copying and distribution information, see the file |
| 12 * "mit-copyright.h". |
9 * "mit-copyright.h". |
| 13 */ |
10 */ |
| 14 /* $Header$ */ |
|
| 15 |
11 |
| 16 #include "internal.h" |
12 #include "internal.h" |
| 17 #ifdef WIN32 |
13 #ifdef WIN32 |
| 18 #include <winsock2.h> |
14 #include <winsock2.h> |
| 19 |
15 |
| 33 |
29 |
| 34 #else |
30 #else |
| 35 #include <arpa/inet.h> |
31 #include <arpa/inet.h> |
| 36 #include <sys/socket.h> |
32 #include <sys/socket.h> |
| 37 #include <utmp.h> |
33 #include <utmp.h> |
| 38 #endif |
|
| 39 |
|
| 40 #ifndef lint |
|
| 41 static const char rcsid_Zinternal_c[] = |
|
| 42 "$Id: Zinternal.c 12553 2005-04-25 01:53:01Z thekingant $"; |
|
| 43 static const char copyright[] = |
|
| 44 "Copyright (c) 1987,1988,1991 by the Massachusetts Institute of Technology."; |
|
| 45 #endif |
34 #endif |
| 46 |
35 |
| 47 extern char *inet_ntoa (); |
36 extern char *inet_ntoa (); |
| 48 |
37 |
| 49 int __Zephyr_fd = -1; |
38 int __Zephyr_fd = -1; |