Removing zookeeper's API for now.

pull/4936/head
Nicolas "Pixel" Noble 9 years ago
parent cf37cb9f9e
commit b51ec5a4ba
  1. 1
      grpc.def
  2. 1
      grpc.gemspec
  3. 2
      include/grpc/grpc_zookeeper.h
  4. 2
      src/ruby/ext/grpc/rb_grpc_imports.generated.c
  5. 4
      src/ruby/ext/grpc/rb_grpc_imports.generated.h

@ -118,7 +118,6 @@ EXPORTS
grpc_server_add_secure_http2_port
grpc_call_set_credentials
grpc_server_credentials_set_auth_metadata_processor
grpc_zookeeper_register
gpr_malloc
gpr_free
gpr_realloc

@ -18,7 +18,6 @@ Gem::Specification.new do |s|
s.files = %w( Makefile )
s.files += %w( etc/roots.pem )
s.files += %w( tools/distrib/grpc/docker_for_windows.rb )
s.files += Dir.glob('src/ruby/bin/**/*')
s.files += Dir.glob('src/ruby/ext/**/*')
s.files += Dir.glob('src/ruby/lib/**/*')

@ -50,7 +50,7 @@ extern "C" {
#endif
/** Register zookeeper name resolver in grpc */
GRPC_API void grpc_zookeeper_register();
void grpc_zookeeper_register();
#ifdef __cplusplus
}

@ -156,7 +156,6 @@ grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_impor
grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
grpc_call_set_credentials_type grpc_call_set_credentials_import;
grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
grpc_zookeeper_register_type grpc_zookeeper_register_import;
gpr_malloc_type gpr_malloc_import;
gpr_free_type gpr_free_import;
gpr_realloc_type gpr_realloc_import;
@ -419,7 +418,6 @@ void grpc_rb_load_imports(HMODULE library) {
grpc_server_add_secure_http2_port_import = (grpc_server_add_secure_http2_port_type) GetProcAddress(library, "grpc_server_add_secure_http2_port");
grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
grpc_server_credentials_set_auth_metadata_processor_import = (grpc_server_credentials_set_auth_metadata_processor_type) GetProcAddress(library, "grpc_server_credentials_set_auth_metadata_processor");
grpc_zookeeper_register_import = (grpc_zookeeper_register_type) GetProcAddress(library, "grpc_zookeeper_register");
gpr_malloc_import = (gpr_malloc_type) GetProcAddress(library, "gpr_malloc");
gpr_free_import = (gpr_free_type) GetProcAddress(library, "gpr_free");
gpr_realloc_import = (gpr_realloc_type) GetProcAddress(library, "gpr_realloc");

@ -44,7 +44,6 @@
#include <grpc/compression.h>
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>
#include <grpc/grpc_zookeeper.h>
#include <grpc/impl/codegen/alloc.h>
#include <grpc/impl/codegen/byte_buffer.h>
#include <grpc/impl/codegen/log.h>
@ -419,9 +418,6 @@ extern grpc_call_set_credentials_type grpc_call_set_credentials_import;
typedef void(*grpc_server_credentials_set_auth_metadata_processor_type)(grpc_server_credentials *creds, grpc_auth_metadata_processor processor);
extern grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
#define grpc_server_credentials_set_auth_metadata_processor grpc_server_credentials_set_auth_metadata_processor_import
typedef void(*grpc_zookeeper_register_type)();
extern grpc_zookeeper_register_type grpc_zookeeper_register_import;
#define grpc_zookeeper_register grpc_zookeeper_register_import
typedef void *(*gpr_malloc_type)(size_t size);
extern gpr_malloc_type gpr_malloc_import;
#define gpr_malloc gpr_malloc_import

Loading…
Cancel
Save