Sha256: 7fecab9a2b6a6e0b57e8d538a9f49561728fc28fddcd95e4e7bbf70990e49352

Contents?: true

Size: 922 Bytes

Versions: 7

Compression:

Stored size: 922 Bytes

Contents

#ifndef NODERB_TOOLS_H
#define	NODERB_TOOLS_H

#ifdef	__cplusplus
extern "C" {
#endif

VALUE nodeRb_nextTick(VALUE self);
VALUE nodeRb_start(VALUE self);

VALUE nodeRb_register_instance(VALUE instance);
VALUE nodeRb_registerInstance(VALUE self, VALUE instance);
VALUE nodeRb_unregister_instance(VALUE instance);
VALUE nodeRb_unregisterInstance(VALUE self, VALUE instance);

VALUE nodeRb_get_class_from_id(long id);

typedef struct {
    uv_write_t req;
    uv_buf_t buf;
} write_req_t;

uv_buf_t nodeRb_read_alloc(uv_handle_t* handle, size_t suggested_size);
void nodeRb_read(uv_stream_t* uv_handle, ssize_t nread, uv_buf_t buf);
void nodeRb_write(uv_stream_t* handle, char* data, size_t len);
void nodeRb_after_write(uv_write_t* req, int status);
VALUE nodeRb_startProxy(VALUE self, VALUE source, VALUE target);
VALUE nodeRb_stopProxy(VALUE self, VALUE source);

#ifdef	__cplusplus
}
#endif

#endif	/* NODERB_TOOLS_H */

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
noderb-0.0.12 ext/noderb_extension/noderb_tools.h
noderb-0.0.11 ext/noderb_extension/noderb_tools.h
noderb-0.0.10 ext/noderb_extension/noderb_tools.h
noderb-0.0.9 ext/noderb_extension/noderb_tools.h
noderb-0.0.8 ext/noderb_extension/noderb_tools.h
noderb-0.0.7 ext/noderb_extension/noderb_tools.h
noderb-0.0.6 ext/noderb_extension/noderb_tools.h