nxt_ruby.h (2087:ce43da300a31) nxt_ruby.h (2163:67d2d679509e)
1
2/*
3 * Copyright (C) Alexander Borisov
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_RUBY_H_INCLUDED_
8#define _NXT_RUBY_H_INCLUDED_

--- 8 unchanged lines hidden (view full) ---

17#include <nxt_router.h>
18#include <nxt_runtime.h>
19#include <nxt_application.h>
20#include <nxt_unit_typedefs.h>
21
22
23typedef struct {
24 VALUE env;
1
2/*
3 * Copyright (C) Alexander Borisov
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_RUBY_H_INCLUDED_
8#define _NXT_RUBY_H_INCLUDED_

--- 8 unchanged lines hidden (view full) ---

17#include <nxt_router.h>
18#include <nxt_runtime.h>
19#include <nxt_application.h>
20#include <nxt_unit_typedefs.h>
21
22
23typedef struct {
24 VALUE env;
25 VALUE script;
26 VALUE io_input;
27 VALUE io_error;
28 VALUE thread;
29 nxt_unit_ctx_t *ctx;
30 nxt_unit_request_info_t *req;
31} nxt_ruby_ctx_t;
32
33
34VALUE nxt_ruby_stream_io_input_init(void);
35VALUE nxt_ruby_stream_io_error_init(void);
36
37#endif /* _NXT_RUBY_H_INCLUDED_ */
25 VALUE io_input;
26 VALUE io_error;
27 VALUE thread;
28 nxt_unit_ctx_t *ctx;
29 nxt_unit_request_info_t *req;
30} nxt_ruby_ctx_t;
31
32
33VALUE nxt_ruby_stream_io_input_init(void);
34VALUE nxt_ruby_stream_io_error_init(void);
35
36#endif /* _NXT_RUBY_H_INCLUDED_ */