MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at mir/inline-method 14 lines 705 B view raw
1const uv = @import("uv.zig"); 2 3pub const stream_t = extern struct { 4 data: ?*anyopaque = null, 5 _pad: [1024]u8 = undefined, 6}; 7 8pub extern fn tlsuv_stream_init(*uv.loop_t, *stream_t, ?*anyopaque) c_int; 9pub extern fn tlsuv_stream_set_hostname(*stream_t, [*:0]const u8) c_int; 10pub extern fn tlsuv_stream_set_protocols(*stream_t, c_int, [*]const [*:0]const u8) c_int; 11pub extern fn tlsuv_stream_connect(*uv.connect_t, *stream_t, [*:0]const u8, c_int, uv.connect_cb) c_int; 12pub extern fn tlsuv_stream_read_start(*stream_t, uv.alloc_cb, uv.read_cb) c_int; 13pub extern fn tlsuv_stream_write(*uv.write_t, *stream_t, *uv.buf_t, uv.write_cb) c_int; 14pub extern fn tlsuv_stream_close(*stream_t, uv.close_cb) c_int;