summaryrefslogtreecommitdiff
path: root/hurd/socket.defs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-10-27 19:15:20 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-10-27 19:15:20 +0000
commitc27293abb19beb3bdb9a81ebc84ae040401f5a48 (patch)
tree5de3dfa2fe0f3473691a428b2e9f28377a06cf02 /hurd/socket.defs
parentaa55358f359fb5887babfe8fb30525e95c34fbf5 (diff)
(socket_create_address, socket_setopt, socket_send): Added SCP in
incoming variable sized arrays.
Diffstat (limited to 'hurd/socket.defs')
-rw-r--r--hurd/socket.defs10
1 files changed, 5 insertions, 5 deletions
diff --git a/hurd/socket.defs b/hurd/socket.defs
index 2bf6e285..f71930ea 100644
--- a/hurd/socket.defs
+++ b/hurd/socket.defs
@@ -78,7 +78,7 @@ routine socket_connect2 (
routine socket_create_address (
server: mach_port_t; /* Can be either pf_t or socket_t. */
sockaddr_type: int;
- sockaddr: data_t;
+ sockaddr: data_t SCP;
out addr: mach_port_send_t);
/* Create an address without any sockaddr. */
@@ -112,16 +112,16 @@ routine socket_setopt (
sock: socket_t;
level: int;
option: int;
- optval: data_t);
+ optval: data_t SCP);
/* Send data over a socket, possibly including Mach ports. */
routine socket_send (
sock: socket_t;
addr: addr_port_t;
flags: int;
- data: data_t;
- ports: portarray_t;
- control: data_t;
+ data: data_t SCP;
+ ports: portarray_t SCP;
+ control: data_t SCP;
out amount: mach_msg_type_number_t);
/* Receive data from a socket, possibly including Mach ports. */