21 lines
1.1 KiB
C
21 lines
1.1 KiB
C
#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
|