prelude: :gerbil/compiler/ssxi
package: std/net/socket

(begin
  (declare-type std/net/socket/api#ssocket-connect__% (@lambda 2 #f))
  (declare-type std/net/socket/api#ssocket-connect__0 (@lambda 1 #f))
  (declare-type
   std/net/socket/api#ssocket-connect
   (@case-lambda
    (1 std/net/socket/api#ssocket-connect__0)
    (2 std/net/socket/api#ssocket-connect__%)))
  (declare-type std/net/socket/api#ssocket-listen__% (@lambda 3 #f))
  (declare-type std/net/socket/api#ssocket-listen__0 (@lambda 1 #f))
  (declare-type std/net/socket/api#ssocket-listen__1 (@lambda 2 #f))
  (declare-type
   std/net/socket/api#ssocket-listen
   (@case-lambda
    (1 std/net/socket/api#ssocket-listen__0)
    (2 std/net/socket/api#ssocket-listen__1)
    (3 std/net/socket/api#ssocket-listen__%)))
  (declare-type std/net/socket/api#ssocket-accept__% (@lambda 3 #f))
  (declare-type std/net/socket/api#ssocket-accept__0 (@lambda 1 #f))
  (declare-type std/net/socket/api#ssocket-accept__1 (@lambda 2 #f))
  (declare-type
   std/net/socket/api#ssocket-accept
   (@case-lambda
    (1 std/net/socket/api#ssocket-accept__0)
    (2 std/net/socket/api#ssocket-accept__1)
    (3 std/net/socket/api#ssocket-accept__%)))
  (declare-type std/net/socket/api#ssocket-send__% (@lambda 5 #f))
  (declare-type std/net/socket/api#ssocket-send__0 (@lambda 2 #f))
  (declare-type std/net/socket/api#ssocket-send__1 (@lambda 3 #f))
  (declare-type std/net/socket/api#ssocket-send__2 (@lambda 4 #f))
  (declare-type
   std/net/socket/api#ssocket-send
   (@case-lambda
    (2 std/net/socket/api#ssocket-send__0)
    (3 std/net/socket/api#ssocket-send__1)
    (4 std/net/socket/api#ssocket-send__2)
    (5 std/net/socket/api#ssocket-send__%)))
  (declare-type std/net/socket/api#ssocket-send-all__% (@lambda 5 #f))
  (declare-type std/net/socket/api#ssocket-send-all__0 (@lambda 2 #f))
  (declare-type std/net/socket/api#ssocket-send-all__1 (@lambda 3 #f))
  (declare-type std/net/socket/api#ssocket-send-all__2 (@lambda 4 #f))
  (declare-type
   std/net/socket/api#ssocket-send-all
   (@case-lambda
    (2 std/net/socket/api#ssocket-send-all__0)
    (3 std/net/socket/api#ssocket-send-all__1)
    (4 std/net/socket/api#ssocket-send-all__2)
    (5 std/net/socket/api#ssocket-send-all__%)))
  (declare-type std/net/socket/api#ssocket-recv__% (@lambda 5 #f))
  (declare-type std/net/socket/api#ssocket-recv__0 (@lambda 2 #f))
  (declare-type std/net/socket/api#ssocket-recv__1 (@lambda 3 #f))
  (declare-type std/net/socket/api#ssocket-recv__2 (@lambda 4 #f))
  (declare-type
   std/net/socket/api#ssocket-recv
   (@case-lambda
    (2 std/net/socket/api#ssocket-recv__0)
    (3 std/net/socket/api#ssocket-recv__1)
    (4 std/net/socket/api#ssocket-recv__2)
    (5 std/net/socket/api#ssocket-recv__%)))
  (declare-type std/net/socket/api#ssocket-recv-all__% (@lambda 5 #f))
  (declare-type std/net/socket/api#ssocket-recv-all__0 (@lambda 2 #f))
  (declare-type std/net/socket/api#ssocket-recv-all__1 (@lambda 3 #f))
  (declare-type std/net/socket/api#ssocket-recv-all__2 (@lambda 4 #f))
  (declare-type
   std/net/socket/api#ssocket-recv-all
   (@case-lambda
    (2 std/net/socket/api#ssocket-recv-all__0)
    (3 std/net/socket/api#ssocket-recv-all__1)
    (4 std/net/socket/api#ssocket-recv-all__2)
    (5 std/net/socket/api#ssocket-recv-all__%)))
  (declare-type
   std/net/socket/api#ssocket-socket
   (@lambda 1 std/net/socket/base#!socket-e))
  (declare-type std/net/socket/api#ssocket-close (@lambda 1 #f))
  (declare-type std/net/socket/api#ssocket-close-input__% (@lambda 2 #f))
  (declare-type std/net/socket/api#ssocket-close-input__0 (@lambda 1 #f))
  (declare-type
   std/net/socket/api#ssocket-close-input
   (@case-lambda
    (1 std/net/socket/api#ssocket-close-input__0)
    (2 std/net/socket/api#ssocket-close-input__%)))
  (declare-type std/net/socket/api#ssocket-close-output__% (@lambda 2 #f))
  (declare-type std/net/socket/api#ssocket-close-output__0 (@lambda 1 #f))
  (declare-type
   std/net/socket/api#ssocket-close-output
   (@case-lambda
    (1 std/net/socket/api#ssocket-close-output__0)
    (2 std/net/socket/api#ssocket-close-output__%)))
  (declare-type std/net/socket/api#!socket::destroy (@lambda 1 #f))
  (declare-method
   std/net/socket/base#!socket::t
   destroy
   std/net/socket/api#!socket::destroy
   #f)
  (declare-type std/net/socket/api#make-ssocket (@lambda 1 #f)))
