summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-04-29 20:37:32 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-04-29 20:37:32 +0000
commitb9f6ed6ef87063124b289ed363c5bf1eb782e343 (patch)
tree015e734616a24103757a93749b58f290a72b291e /hurd
parent878ef5da8b9439f28a39eb8fbfde0bad74648640 (diff)
Formerly socket.defs.~21~
Diffstat (limited to 'hurd')
-rw-r--r--hurd/socket.defs16
1 files changed, 8 insertions, 8 deletions
diff --git a/hurd/socket.defs b/hurd/socket.defs
index 4a7a88b3..d23fa5cc 100644
--- a/hurd/socket.defs
+++ b/hurd/socket.defs
@@ -1,5 +1,5 @@
/* Definitions for socket interface
- Copyright (C) 1991, 1993 Free Software Foundation
+ Copyright (C) 1991, 1993, 1994 Free Software Foundation
This file is part of the GNU Hurd.
@@ -34,7 +34,7 @@ routine socket_create (
server: socket_t;
sock_type: int;
protocol: int;
- out sock: socket_t);
+ out sock: mach_port_send_t);
/* Prepare a socket of appropriate type for future accept operations. */
routine socket_listen (
@@ -45,8 +45,8 @@ routine socket_listen (
/* INTR */
routine socket_accept (
sock: socket_t;
- out conn_sock: socket_t;
- out peer_addr: addr_port_t);
+ out conn_sock: mach_port_send_t;
+ out peer_addr: mach_port_send_t);
/* Connect to an address. */
/* INTR */
@@ -62,12 +62,12 @@ routine socket_bind (
/* Find out the name of a socket. */
routine socket_name (
sock: socket_t;
- out addr: addr_port_t);
+ out addr: mach_port_send_t);
/* Find out the name of the socket's peer. */
routine socket_peername (
sock: socket_t;
- out addr: addr_port_t);
+ out addr: mach_port_send_t);
/* Connect two sockets */
routine socket_connect2 (
@@ -79,13 +79,13 @@ routine socket_create_address (
sock: socket_t;
sockaddr_type: int;
sockaddr: data_t;
- out addr: addr_port_t;
+ out addr: mach_port_send_t;
binding: int);
/* Create an address without any sockaddr. */
routine socket_fabricate_address (
sock: socket_t;
- out addr: addr_port_t);
+ out addr: mach_port_send_t);
/* Find the sockaddr name of an address. */
routine socket_whatis_address(