diff options
author | Stefan Jahn <stefan@lkcc.org> | 2001-11-21 07:59:53 +0000 |
---|---|---|
committer | Stefan Jahn <stefan@lkcc.org> | 2001-11-21 07:59:53 +0000 |
commit | 6063dc1ddd76d0d4bc74f86faae9462d855ceff5 (patch) | |
tree | 41e38b5acebf6f3068a6149e6a4c5935dc727d09 /libguile/win32-socket.h | |
parent | 351982f656ad8b0e9754b368fb89e751ad226500 (diff) | |
download | guile-6063dc1ddd76d0d4bc74f86faae9462d855ceff5.tar.gz |
2001-11-21 Stefan Jahn <stefan@lkcc.org>
* win32-socket.c (getservent, setservent, endservent,
getprotoent, setprotoent, endprotoent): New functions.
Appropriate replacements for M$-Windows.
* numbers.c (SIZE_MAX, PTRDIFF_MAX, PTRDIFF_MIN): Reintroduced
these definitions for GUILE_DEBUG.
* net_db.c: Include "win32-socket.h" if compiling with a native
M$-Windows compiler. Include some pieces of code (protoent and
servent interface) protected by HAVE_* macros when using a
native M$-Windows compiler.
Diffstat (limited to 'libguile/win32-socket.h')
-rw-r--r-- | libguile/win32-socket.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libguile/win32-socket.h b/libguile/win32-socket.h index 83e1030dd..adbe2c517 100644 --- a/libguile/win32-socket.h +++ b/libguile/win32-socket.h @@ -52,5 +52,13 @@ int scm_i_socket_errno (void); char * scm_i_socket_strerror (int error); void scm_i_init_socket_Win32 (void); +char * scm_i_socket_filename (char *file); + +struct servent * getservent (void); +void setservent (int stayopen); +void endservent (void); +struct protoent * getprotoent (void); +void setprotoent (int stayopen); +void endprotoent (void); #endif /* SCM_WIN32_SOCKET_H */ |