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
579 B

#ifndef DUK_DEBUG_TRANS_SOCKET_H_INCLUDED
#define DUK_DEBUG_TRANS_SOCKET_H_INCLUDED
#include "duktape.h"
void duk_debug_trans_socket_init(void);
void duk_debug_trans_socket_waitconn(void);
duk_size_t duk_debug_trans_socket_read(void *udata, char *buffer, duk_size_t length);
duk_size_t duk_debug_trans_socket_write(void *udata, const char *buffer, duk_size_t length);
duk_size_t duk_debug_trans_socket_peek(void *udata);
void duk_debug_trans_socket_read_flush(void *udata);
void duk_debug_trans_socket_write_flush(void *udata);
#endif /* DUK_DEBUG_TRANS_SOCKET_H_INCLUDED */