mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
534 B
14 lines
534 B
#ifndef DUK_TRANS_SOCKET_H_INCLUDED
|
|
#define DUK_TRANS_SOCKET_H_INCLUDED
|
|
|
|
#include "duktape.h"
|
|
|
|
void duk_trans_socket_init(void);
|
|
void duk_trans_socket_waitconn(void);
|
|
duk_size_t duk_trans_socket_read_cb(void *udata, char *buffer, duk_size_t length);
|
|
duk_size_t duk_trans_socket_write_cb(void *udata, const char *buffer, duk_size_t length);
|
|
duk_size_t duk_trans_socket_peek_cb(void *udata);
|
|
void duk_trans_socket_read_flush_cb(void *udata);
|
|
void duk_trans_socket_write_flush_cb(void *udata);
|
|
|
|
#endif /* DUK_TRANS_SOCKET_H_INCLUDED */
|
|
|