#include <ruby/ruby.h>
#include "rb_grpc.h"
#include <math.h>
#include <ruby/vm.h>
#include <stdbool.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include "rb_call.h"
#include "rb_call_credentials.h"
#include "rb_channel.h"
#include "rb_channel_credentials.h"
#include "rb_compression_options.h"
#include "rb_event_thread.h"
#include "rb_grpc_imports.generated.h"
#include "rb_loader.h"
#include "rb_server.h"
#include "rb_server_credentials.h"
#include "rb_xds_channel_credentials.h"
#include "rb_xds_server_credentials.h"
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
Go to the source code of this file.
◆ grpc_rb_cannot_alloc()
VALUE grpc_rb_cannot_alloc |
( |
VALUE |
cls | ) |
|
◆ grpc_rb_cannot_init()
VALUE grpc_rb_cannot_init |
( |
VALUE |
self | ) |
|
◆ grpc_rb_cannot_init_copy()
VALUE grpc_rb_cannot_init_copy |
( |
VALUE |
copy, |
|
|
VALUE |
self |
|
) |
| |
◆ grpc_rb_time_timeval()
grpc_rb_time_timeval creates a timeval from a ruby time object.
This func is copied from ruby source, MRI/source/time.c, which is published under the same license as the ruby.h, on which the entire extensions is based.
Definition at line 98 of file rb_grpc.c.
◆ grpc_rb_time_val_inspect()
static VALUE grpc_rb_time_val_inspect |
( |
VALUE |
self | ) |
|
|
static |
◆ grpc_rb_time_val_to_s()
static VALUE grpc_rb_time_val_to_s |
( |
VALUE |
self | ) |
|
|
static |
◆ grpc_rb_time_val_to_time()
static VALUE grpc_rb_time_val_to_time |
( |
VALUE |
self | ) |
|
|
static |
◆ grpc_ruby_fork_guard()
void grpc_ruby_fork_guard |
( |
| ) |
|
◆ grpc_ruby_forked_after_init()
static bool grpc_ruby_forked_after_init |
( |
void |
| ) |
|
|
static |
◆ grpc_ruby_init()
◆ grpc_ruby_init_threads()
static void grpc_ruby_init_threads |
( |
| ) |
|
|
static |
◆ grpc_ruby_set_init_pid()
static void grpc_ruby_set_init_pid |
( |
void |
| ) |
|
|
static |
◆ grpc_ruby_shutdown()
void grpc_ruby_shutdown |
( |
| ) |
|
◆ Init_grpc_c()
◆ Init_grpc_time_consts()
static void Init_grpc_time_consts |
( |
| ) |
|
|
static |
◆ bg_thread_init_done
int bg_thread_init_done = 0 |
|
static |
◆ bg_thread_init_rb_mu
VALUE bg_thread_init_rb_mu = Qundef |
|
static |
◆ g_grpc_ruby_init_count
◆ g_once_init
◆ grpc_init_pid
◆ grpc_rb_cTimeVal
VALUE grpc_rb_cTimeVal = Qnil |
|
static |
◆ grpc_rb_mGRPC
VALUE grpc_rb_mGRPC = Qnil |
◆ grpc_rb_mGrpcCore
VALUE grpc_rb_mGrpcCore = Qnil |
◆ grpc_rb_sNewServerRpc
VALUE grpc_rb_sNewServerRpc = Qnil |
◆ grpc_rb_sStatus
VALUE grpc_rb_sStatus = Qnil |
◆ grpc_rb_timespec_data_type
rb_data_type_t grpc_rb_timespec_data_type |
|
static |
Initial value:= {
"gpr_timespec",
{NULL, NULL}},
NULL,
NULL,
}
Definition at line 49 of file rb_grpc.c.
◆ id_at
◆ id_inspect
◆ id_to_s
◆ id_tv_nsec
◆ id_tv_sec
◆ inf_future_realtime
◆ inf_past_realtime
◆ sym_code
◆ sym_details
VALUE sym_details = Qundef |
◆ sym_metadata
VALUE sym_metadata = Qundef |
◆ zero_realtime