Files
LNXRNT/Sources/socket_v8_bindings.h

21 lines
1.1 KiB
C
Raw Normal View History

2026-02-20 23:40:15 -08:00
#pragma once
#include <v8.h>
void bind_socket_bridge(v8::Isolate* isolate, const v8::Global<v8::Context>& context);
void v8_runt_socket_create(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_bind(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_listen(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_accept(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_connect(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_send(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_recv(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_close(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_set_blocking(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_select(const v8::FunctionCallbackInfo<v8::Value>& args);
void v8_runt_socket_is_connected(const v8::FunctionCallbackInfo<v8::Value>& args);
#ifdef WITH_SSL
void v8_runt_socket_enable_ssl(const v8::FunctionCallbackInfo<v8::Value>& args);
#endif