#include <ruby/ruby.h>
#include "rb_call_credentials.h"
#include <ruby/thread.h>
#include "rb_call.h"
#include "rb_event_thread.h"
#include "rb_grpc.h"
#include "rb_grpc_imports.generated.h"
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
Go to the source code of this file.
|
static VALUE | grpc_rb_call_credentials_alloc (VALUE cls) |
|
static VALUE | grpc_rb_call_credentials_callback (VALUE args) |
|
static VALUE | grpc_rb_call_credentials_callback_rescue (VALUE args, VALUE exception_object) |
|
static void | grpc_rb_call_credentials_callback_with_gil (void *param) |
|
static VALUE | grpc_rb_call_credentials_compose (int argc, VALUE *argv, VALUE self) |
|
static void | grpc_rb_call_credentials_free (void *p) |
|
static void | grpc_rb_call_credentials_free_internal (void *p) |
|
static VALUE | grpc_rb_call_credentials_init (VALUE self, VALUE proc) |
|
static void | grpc_rb_call_credentials_mark (void *p) |
|
static void | grpc_rb_call_credentials_plugin_destroy (void *state) |
|
static int | grpc_rb_call_credentials_plugin_get_metadata (void *state, grpc_auth_metadata_context context, grpc_credentials_plugin_metadata_cb cb, void *user_data, grpc_metadata creds_md[GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX], size_t *num_creds_md, grpc_status_code *status, const char **error_details) |
|
grpc_call_credentials * | grpc_rb_get_wrapped_call_credentials (VALUE v) |
|
VALUE | grpc_rb_wrap_call_credentials (grpc_call_credentials *c, VALUE mark) |
|
void | Init_grpc_call_credentials () |
|
◆ callback_params
◆ grpc_rb_call_credentials
◆ grpc_rb_call_credentials_alloc()
static VALUE grpc_rb_call_credentials_alloc |
( |
VALUE |
cls | ) |
|
|
static |
◆ grpc_rb_call_credentials_callback()
static VALUE grpc_rb_call_credentials_callback |
( |
VALUE |
args | ) |
|
|
static |
◆ grpc_rb_call_credentials_callback_rescue()
static VALUE grpc_rb_call_credentials_callback_rescue |
( |
VALUE |
args, |
|
|
VALUE |
exception_object |
|
) |
| |
|
static |
◆ grpc_rb_call_credentials_callback_with_gil()
static void grpc_rb_call_credentials_callback_with_gil |
( |
void * |
param | ) |
|
|
static |
◆ grpc_rb_call_credentials_compose()
static VALUE grpc_rb_call_credentials_compose |
( |
int |
argc, |
|
|
VALUE * |
argv, |
|
|
VALUE |
self |
|
) |
| |
|
static |
◆ grpc_rb_call_credentials_free()
static void grpc_rb_call_credentials_free |
( |
void * |
p | ) |
|
|
static |
◆ grpc_rb_call_credentials_free_internal()
static void grpc_rb_call_credentials_free_internal |
( |
void * |
p | ) |
|
|
static |
◆ grpc_rb_call_credentials_init()
static VALUE grpc_rb_call_credentials_init |
( |
VALUE |
self, |
|
|
VALUE |
proc |
|
) |
| |
|
static |
◆ grpc_rb_call_credentials_mark()
static void grpc_rb_call_credentials_mark |
( |
void * |
p | ) |
|
|
static |
◆ grpc_rb_call_credentials_plugin_destroy()
static void grpc_rb_call_credentials_plugin_destroy |
( |
void * |
state | ) |
|
|
static |
◆ grpc_rb_call_credentials_plugin_get_metadata()
◆ grpc_rb_get_wrapped_call_credentials()
◆ grpc_rb_wrap_call_credentials()
◆ Init_grpc_call_credentials()
void Init_grpc_call_credentials |
( |
| ) |
|
◆ grpc_rb_call_credentials_data_type
rb_data_type_t grpc_rb_call_credentials_data_type |
|
static |
Initial value:= {
"grpc_call_credentials",
{NULL, NULL}},
NULL,
NULL,
}
Definition at line 211 of file rb_call_credentials.c.
◆ grpc_rb_cCallCredentials
VALUE grpc_rb_cCallCredentials = Qnil |
|
static |
◆ id_callback