prelude: :gerbil/compiler/ssxi
package: std/os

(begin
  (declare-type std/os/socket#open-socket (@lambda 4 #f))
  (declare-type std/os/socket#socket__% (@lambda 3 #f))
  (declare-type std/os/socket#socket__0 (@lambda 2 #f))
  (declare-type
   std/os/socket#socket
   (@case-lambda (2 std/os/socket#socket__0) (3 std/os/socket#socket__%)))
  (declare-type std/os/socket#server-socket__% (@lambda 3 #f))
  (declare-type std/os/socket#server-socket__0 (@lambda 2 #f))
  (declare-type
   std/os/socket#server-socket
   (@case-lambda
    (2 std/os/socket#server-socket__0)
    (3 std/os/socket#server-socket__%)))
  (declare-type std/os/socket#socket? (@lambda 1 #f))
  (declare-type std/os/socket#socket-bind (@lambda 2 #f))
  (declare-type std/os/socket#socket-listen__% (@lambda 2 #f))
  (declare-type std/os/socket#socket-listen__0 (@lambda 1 #f))
  (declare-type
   std/os/socket#socket-listen
   (@case-lambda
    (1 std/os/socket#socket-listen__0)
    (2 std/os/socket#socket-listen__%)))
  (declare-type std/os/socket#socket-accept__% (@lambda 2 #f))
  (declare-type std/os/socket#socket-accept__0 (@lambda 1 #f))
  (declare-type
   std/os/socket#socket-accept
   (@case-lambda
    (1 std/os/socket#socket-accept__0)
    (2 std/os/socket#socket-accept__%)))
  (declare-type std/os/socket#socket-connect (@lambda 2 #f))
  (declare-type std/os/socket#socket-shutdown (@lambda 2 #f))
  (declare-type std/os/socket#socket-close (@lambda 1 close-port))
  (declare-type std/os/socket#socket-send__% (@lambda 5 #f))
  (declare-type std/os/socket#socket-send__0 (@lambda 2 #f))
  (declare-type std/os/socket#socket-send__1 (@lambda 3 #f))
  (declare-type std/os/socket#socket-send__2 (@lambda 4 #f))
  (declare-type
   std/os/socket#socket-send
   (@case-lambda
    (2 std/os/socket#socket-send__0)
    (3 std/os/socket#socket-send__1)
    (4 std/os/socket#socket-send__2)
    (5 std/os/socket#socket-send__%)))
  (declare-type std/os/socket#socket-sendto__% (@lambda 6 #f))
  (declare-type std/os/socket#socket-sendto__0 (@lambda 3 #f))
  (declare-type std/os/socket#socket-sendto__1 (@lambda 4 #f))
  (declare-type std/os/socket#socket-sendto__2 (@lambda 5 #f))
  (declare-type
   std/os/socket#socket-sendto
   (@case-lambda
    (3 std/os/socket#socket-sendto__0)
    (4 std/os/socket#socket-sendto__1)
    (5 std/os/socket#socket-sendto__2)
    (6 std/os/socket#socket-sendto__%)))
  (declare-type std/os/socket#socket-sendmsg (@lambda 5 #f))
  (declare-type std/os/socket#socket-recv__% (@lambda 5 #f))
  (declare-type std/os/socket#socket-recv__0 (@lambda 2 #f))
  (declare-type std/os/socket#socket-recv__1 (@lambda 3 #f))
  (declare-type std/os/socket#socket-recv__2 (@lambda 4 #f))
  (declare-type
   std/os/socket#socket-recv
   (@case-lambda
    (2 std/os/socket#socket-recv__0)
    (3 std/os/socket#socket-recv__1)
    (4 std/os/socket#socket-recv__2)
    (5 std/os/socket#socket-recv__%)))
  (declare-type std/os/socket#socket-recvfrom__% (@lambda 6 #f))
  (declare-type std/os/socket#socket-recvfrom__0 (@lambda 3 #f))
  (declare-type std/os/socket#socket-recvfrom__1 (@lambda 4 #f))
  (declare-type std/os/socket#socket-recvfrom__2 (@lambda 5 #f))
  (declare-type
   std/os/socket#socket-recvfrom
   (@case-lambda
    (3 std/os/socket#socket-recvfrom__0)
    (4 std/os/socket#socket-recvfrom__1)
    (5 std/os/socket#socket-recvfrom__2)
    (6 std/os/socket#socket-recvfrom__%)))
  (declare-type std/os/socket#socket-recvmsg* (@lambda 8 #f))
  (declare-type std/os/socket#socket-recvmsg (@lambda 5 #f))
  (declare-type std/os/socket#socket-getpeername__% (@lambda 2 #f))
  (declare-type std/os/socket#socket-getpeername__0 (@lambda 1 #f))
  (declare-type
   std/os/socket#socket-getpeername
   (@case-lambda
    (1 std/os/socket#socket-getpeername__0)
    (2 std/os/socket#socket-getpeername__%)))
  (declare-type std/os/socket#socket-getsockname__% (@lambda 2 #f))
  (declare-type std/os/socket#socket-getsockname__0 (@lambda 1 #f))
  (declare-type
   std/os/socket#socket-getsockname
   (@case-lambda
    (1 std/os/socket#socket-getsockname__0)
    (2 std/os/socket#socket-getsockname__%)))
  (declare-type std/os/socket#socket-domain (@lambda 1 #f))
  (declare-type
   std/os/socket#socket-address?
   (@lambda 1 std/os/_socket#sockaddr?))
  (declare-type std/os/socket#make-socket-address (@lambda 1 #f))
  (declare-type std/os/socket#make-socket-address-in (@lambda 0 #f))
  (declare-type std/os/socket#make-socket-address-in6 (@lambda 0 #f))
  (declare-type std/os/socket#make-socket-address-un (@lambda 0 #f))
  (declare-type std/os/socket#socket-address-in (@lambda 2 #f))
  (declare-type std/os/socket#socket-address-in6 (@lambda 2 #f))
  (declare-type std/os/socket#socket-address-un (@lambda 1 #f))
  (declare-type
   std/os/socket#socket-address-family
   (@lambda 1 std/os/_socket#sockaddr_family))
  (declare-type std/os/socket#socket-address (@lambda 1 #f))
  (declare-type std/os/socket#inet-address->socket-address (@lambda 1 #f))
  (declare-type std/os/socket#socket-address->address (@lambda 1 #f))
  (declare-type std/os/socket#socket-address->string (@lambda 1 #f))
  (declare-type std/os/socket#socket-getsockopt (@lambda (3) #f))
  (declare-type std/os/socket#socket-setsockopt (@lambda (4) #f))
  (declare-type std/os/socket#socket-getsockopt-int (@lambda 3 #f))
  (declare-type std/os/socket#socket-setsockopt-int (@lambda 4 #f))
  (declare-type std/os/socket#socket-getsockopt-tv (@lambda 3 #f))
  (declare-type std/os/socket#socket-setsockopt-tv (@lambda 4 #f))
  (declare-type std/os/socket#socket-getsockopt-addr-in (@lambda 3 #f))
  (declare-type std/os/socket#socket-getsockopt-addr-in6 (@lambda 3 #f))
  (declare-type std/os/socket#socket-setsockopt-addr (@lambda 4 #f))
  (declare-type std/os/socket#socket-getsockopt-bytes (@lambda 4 #f))
  (declare-type std/os/socket#socket-setsockopt-bytes (@lambda 4 #f))
  (declare-type std/os/socket#socket-setsockopt-mreq (@lambda 4 #f))
  (declare-type std/os/socket#socket-setsockopt-mreq-src (@lambda 4 #f))
  (declare-type std/os/socket#socket-setsockopt-mreq6 (@lambda 4 #f))
  (declare-type std/os/socket#socket-getsockopt-linger (@lambda 3 #f))
  (declare-type std/os/socket#socket-setsockopt-linger (@lambda 4 #f)))
