#include <ruby/ruby.h>
#include "rb_channel_credentials.h"
#include <string.h>
#include "rb_call_credentials.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.
Classes | |
struct | grpc_rb_channel_credentials |
Typedefs | |
typedef struct grpc_rb_channel_credentials | grpc_rb_channel_credentials |
Functions | |
static grpc_ssl_roots_override_result | get_ssl_roots_override (char **pem_root_certs_ptr) |
static VALUE | grpc_rb_channel_credentials_alloc (VALUE cls) |
static VALUE | grpc_rb_channel_credentials_compose (int argc, VALUE *argv, VALUE self) |
static void | grpc_rb_channel_credentials_free (void *p) |
static void | grpc_rb_channel_credentials_free_internal (void *p) |
static VALUE | grpc_rb_channel_credentials_init (int argc, VALUE *argv, VALUE self) |
static void | grpc_rb_channel_credentials_mark (void *p) |
grpc_channel_credentials * | grpc_rb_get_wrapped_channel_credentials (VALUE v) |
bool | grpc_rb_is_channel_credentials (VALUE v) |
static VALUE | grpc_rb_set_default_roots_pem (VALUE self, VALUE roots) |
VALUE | grpc_rb_wrap_channel_credentials (grpc_channel_credentials *c, VALUE mark) |
void | Init_grpc_channel_credentials () |
Variables | |
static VALUE | grpc_rb_cChannelCredentials = Qnil |
static rb_data_type_t | grpc_rb_channel_credentials_data_type |
static ID | id_pem_cert_chain |
static ID | id_pem_private_key |
static ID | id_pem_root_certs |
static char * | pem_root_certs = NULL |
typedef struct grpc_rb_channel_credentials grpc_rb_channel_credentials |
|
static |
Definition at line 229 of file rb_channel_credentials.c.
|
static |
Definition at line 97 of file rb_channel_credentials.c.
|
static |
Definition at line 200 of file rb_channel_credentials.c.
|
static |
Definition at line 64 of file rb_channel_credentials.c.
|
static |
Definition at line 51 of file rb_channel_credentials.c.
|
static |
Definition at line 145 of file rb_channel_credentials.c.
|
static |
Definition at line 70 of file rb_channel_credentials.c.
grpc_channel_credentials* grpc_rb_get_wrapped_channel_credentials | ( | VALUE | v | ) |
Definition at line 275 of file rb_channel_credentials.c.
bool grpc_rb_is_channel_credentials | ( | VALUE | v | ) |
Definition at line 284 of file rb_channel_credentials.c.
|
static |
Definition at line 239 of file rb_channel_credentials.c.
VALUE grpc_rb_wrap_channel_credentials | ( | grpc_channel_credentials * | c, |
VALUE | mark | ||
) |
Definition at line 109 of file rb_channel_credentials.c.
void Init_grpc_channel_credentials | ( | ) |
Definition at line 248 of file rb_channel_credentials.c.
|
static |
Definition at line 36 of file rb_channel_credentials.c.
|
static |
Definition at line 82 of file rb_channel_credentials.c.
|
static |
Definition at line 131 of file rb_channel_credentials.c.
|
static |
Definition at line 128 of file rb_channel_credentials.c.
|
static |
Definition at line 125 of file rb_channel_credentials.c.
|
static |
Definition at line 38 of file rb_channel_credentials.c.