Remove grpc_slice_buf_cmp and change public_headers_must_be_c89 to print the addresses of public api functions to check if they can be linked to

pull/13246/head
Yash Tibrewal 7 years ago
parent 53417d6e5e
commit 2f921a3f97
  1. 1
      grpc.def
  2. 1
      include/grpc/slice.h
  3. 2
      src/ruby/ext/grpc/rb_grpc_imports.generated.c
  4. 3
      src/ruby/ext/grpc/rb_grpc_imports.generated.h
  5. 16
      templates/test/core/surface/public_headers_must_be_c89.c.template
  6. 583
      test/core/surface/public_headers_must_be_c89.c

@ -149,7 +149,6 @@ EXPORTS
grpc_slice_eq grpc_slice_eq
grpc_slice_cmp grpc_slice_cmp
grpc_slice_str_cmp grpc_slice_str_cmp
grpc_slice_buf_cmp
grpc_slice_buf_start_eq grpc_slice_buf_start_eq
grpc_slice_rchr grpc_slice_rchr
grpc_slice_chr grpc_slice_chr

@ -137,7 +137,6 @@ GPRAPI int grpc_slice_eq(grpc_slice a, grpc_slice b);
versions of the API. */ versions of the API. */
GPRAPI int grpc_slice_cmp(grpc_slice a, grpc_slice b); GPRAPI int grpc_slice_cmp(grpc_slice a, grpc_slice b);
GPRAPI int grpc_slice_str_cmp(grpc_slice a, const char *b); GPRAPI int grpc_slice_str_cmp(grpc_slice a, const char *b);
GPRAPI int grpc_slice_buf_cmp(grpc_slice a, const void *b, size_t blen);
/** return non-zero if the first blen bytes of a are equal to b */ /** return non-zero if the first blen bytes of a are equal to b */
GPRAPI int grpc_slice_buf_start_eq(grpc_slice a, const void *b, size_t blen); GPRAPI int grpc_slice_buf_start_eq(grpc_slice a, const void *b, size_t blen);

@ -172,7 +172,6 @@ grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import;
grpc_slice_eq_type grpc_slice_eq_import; grpc_slice_eq_type grpc_slice_eq_import;
grpc_slice_cmp_type grpc_slice_cmp_import; grpc_slice_cmp_type grpc_slice_cmp_import;
grpc_slice_str_cmp_type grpc_slice_str_cmp_import; grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
grpc_slice_buf_cmp_type grpc_slice_buf_cmp_import;
grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import; grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
grpc_slice_rchr_type grpc_slice_rchr_import; grpc_slice_rchr_type grpc_slice_rchr_import;
grpc_slice_chr_type grpc_slice_chr_import; grpc_slice_chr_type grpc_slice_chr_import;
@ -460,7 +459,6 @@ void grpc_rb_load_imports(HMODULE library) {
grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq"); grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq");
grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp"); grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp");
grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp"); grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp");
grpc_slice_buf_cmp_import = (grpc_slice_buf_cmp_type) GetProcAddress(library, "grpc_slice_buf_cmp");
grpc_slice_buf_start_eq_import = (grpc_slice_buf_start_eq_type) GetProcAddress(library, "grpc_slice_buf_start_eq"); grpc_slice_buf_start_eq_import = (grpc_slice_buf_start_eq_type) GetProcAddress(library, "grpc_slice_buf_start_eq");
grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr"); grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr");
grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr"); grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr");

@ -496,9 +496,6 @@ extern grpc_slice_cmp_type grpc_slice_cmp_import;
typedef int(*grpc_slice_str_cmp_type)(grpc_slice a, const char *b); typedef int(*grpc_slice_str_cmp_type)(grpc_slice a, const char *b);
extern grpc_slice_str_cmp_type grpc_slice_str_cmp_import; extern grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
#define grpc_slice_str_cmp grpc_slice_str_cmp_import #define grpc_slice_str_cmp grpc_slice_str_cmp_import
typedef int(*grpc_slice_buf_cmp_type)(grpc_slice a, const void *b, size_t blen);
extern grpc_slice_buf_cmp_type grpc_slice_buf_cmp_import;
#define grpc_slice_buf_cmp grpc_slice_buf_cmp_import
typedef int(*grpc_slice_buf_start_eq_type)(grpc_slice a, const void *b, size_t blen); typedef int(*grpc_slice_buf_start_eq_type)(grpc_slice a, const void *b, size_t blen);
extern grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import; extern grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
#define grpc_slice_buf_start_eq grpc_slice_buf_start_eq_import #define grpc_slice_buf_start_eq grpc_slice_buf_start_eq_import

@ -35,9 +35,23 @@
assert(hdr[0:len(pfx)] == pfx) assert(hdr[0:len(pfx)] == pfx)
hdrs.add(hdr[len(pfx):]) hdrs.add(hdr[len(pfx):])
hdrs = sorted(list(hdrs)) hdrs = sorted(list(hdrs))
fns = list()
for api in c_apis:
if is_platform_header(api.header):
continue
fns.append(api.name)
%>\ %>\
% for hdr in hdrs: % for hdr in hdrs:
#include <${hdr}> #include <${hdr}>
% endfor % endfor
int main(int argc, char **argv) { return 0; } #include <stdio.h>
int main(int argc, char **argv) {
if(argc == 12345678) {
% for fn in fns:
printf("%lx", (unsigned long) ${fn});;
% endfor
}
return 0;
}

@ -63,4 +63,585 @@
#include <grpc/support/useful.h> #include <grpc/support/useful.h>
#include <grpc/support/workaround_list.h> #include <grpc/support/workaround_list.h>
int main(int argc, char **argv) { return 0; } #include <stdio.h>
int main(int argc, char **argv) {
if (argc == 12345678) {
printf("%lx", (unsigned long)grpc_compression_algorithm_parse);
;
printf("%lx", (unsigned long)grpc_compression_algorithm_name);
;
printf("%lx", (unsigned long)grpc_stream_compression_algorithm_name);
;
printf("%lx", (unsigned long)grpc_compression_algorithm_for_level);
;
printf("%lx", (unsigned long)grpc_stream_compression_algorithm_for_level);
;
printf("%lx", (unsigned long)grpc_compression_options_init);
;
printf("%lx", (unsigned long)grpc_compression_options_enable_algorithm);
;
printf("%lx", (unsigned long)grpc_compression_options_disable_algorithm);
;
printf("%lx", (unsigned long)grpc_compression_options_is_algorithm_enabled);
;
printf(
"%lx",
(unsigned long)
grpc_compression_options_is_stream_compression_algorithm_enabled);
;
printf("%lx", (unsigned long)grpc_metadata_array_init);
;
printf("%lx", (unsigned long)grpc_metadata_array_destroy);
;
printf("%lx", (unsigned long)grpc_call_details_init);
;
printf("%lx", (unsigned long)grpc_call_details_destroy);
;
printf("%lx", (unsigned long)grpc_register_plugin);
;
printf("%lx", (unsigned long)grpc_init);
;
printf("%lx", (unsigned long)grpc_shutdown);
;
printf("%lx", (unsigned long)grpc_version_string);
;
printf("%lx", (unsigned long)grpc_g_stands_for);
;
printf("%lx", (unsigned long)grpc_completion_queue_factory_lookup);
;
printf("%lx", (unsigned long)grpc_completion_queue_create_for_next);
;
printf("%lx", (unsigned long)grpc_completion_queue_create_for_pluck);
;
printf("%lx", (unsigned long)grpc_completion_queue_create);
;
printf("%lx", (unsigned long)grpc_completion_queue_next);
;
printf("%lx", (unsigned long)grpc_completion_queue_pluck);
;
printf("%lx", (unsigned long)grpc_completion_queue_shutdown);
;
printf("%lx", (unsigned long)grpc_completion_queue_destroy);
;
printf("%lx", (unsigned long)grpc_completion_queue_thread_local_cache_init);
;
printf("%lx",
(unsigned long)grpc_completion_queue_thread_local_cache_flush);
;
printf("%lx", (unsigned long)grpc_alarm_create);
;
printf("%lx", (unsigned long)grpc_alarm_set);
;
printf("%lx", (unsigned long)grpc_alarm_cancel);
;
printf("%lx", (unsigned long)grpc_alarm_destroy);
;
printf("%lx", (unsigned long)grpc_channel_check_connectivity_state);
;
printf("%lx",
(unsigned long)grpc_channel_num_external_connectivity_watchers);
;
printf("%lx", (unsigned long)grpc_channel_watch_connectivity_state);
;
printf("%lx", (unsigned long)grpc_channel_support_connectivity_watcher);
;
printf("%lx", (unsigned long)grpc_channel_create_call);
;
printf("%lx", (unsigned long)grpc_channel_ping);
;
printf("%lx", (unsigned long)grpc_channel_register_call);
;
printf("%lx", (unsigned long)grpc_channel_create_registered_call);
;
printf("%lx", (unsigned long)grpc_call_arena_alloc);
;
printf("%lx", (unsigned long)grpc_call_start_batch);
;
printf("%lx", (unsigned long)grpc_call_get_peer);
;
printf("%lx", (unsigned long)grpc_census_call_set_context);
;
printf("%lx", (unsigned long)grpc_census_call_get_context);
;
printf("%lx", (unsigned long)grpc_channel_get_target);
;
printf("%lx", (unsigned long)grpc_channel_get_info);
;
printf("%lx", (unsigned long)grpc_insecure_channel_create);
;
printf("%lx", (unsigned long)grpc_lame_client_channel_create);
;
printf("%lx", (unsigned long)grpc_channel_destroy);
;
printf("%lx", (unsigned long)grpc_call_cancel);
;
printf("%lx", (unsigned long)grpc_call_cancel_with_status);
;
printf("%lx", (unsigned long)grpc_call_ref);
;
printf("%lx", (unsigned long)grpc_call_unref);
;
printf("%lx", (unsigned long)grpc_server_request_call);
;
printf("%lx", (unsigned long)grpc_server_register_method);
;
printf("%lx", (unsigned long)grpc_server_request_registered_call);
;
printf("%lx", (unsigned long)grpc_server_create);
;
printf("%lx", (unsigned long)grpc_server_register_completion_queue);
;
printf("%lx", (unsigned long)grpc_server_add_insecure_http2_port);
;
printf("%lx", (unsigned long)grpc_server_start);
;
printf("%lx", (unsigned long)grpc_server_shutdown_and_notify);
;
printf("%lx", (unsigned long)grpc_server_cancel_all_calls);
;
printf("%lx", (unsigned long)grpc_server_destroy);
;
printf("%lx", (unsigned long)grpc_tracer_set_enabled);
;
printf("%lx", (unsigned long)grpc_header_key_is_legal);
;
printf("%lx", (unsigned long)grpc_header_nonbin_value_is_legal);
;
printf("%lx", (unsigned long)grpc_is_binary_header);
;
printf("%lx", (unsigned long)grpc_call_error_to_string);
;
printf("%lx", (unsigned long)grpc_resource_quota_create);
;
printf("%lx", (unsigned long)grpc_resource_quota_ref);
;
printf("%lx", (unsigned long)grpc_resource_quota_unref);
;
printf("%lx", (unsigned long)grpc_resource_quota_resize);
;
printf("%lx", (unsigned long)grpc_resource_quota_arg_vtable);
;
printf("%lx", (unsigned long)grpc_auth_property_iterator_next);
;
printf("%lx", (unsigned long)grpc_auth_context_property_iterator);
;
printf("%lx", (unsigned long)grpc_auth_context_peer_identity);
;
printf("%lx", (unsigned long)grpc_auth_context_find_properties_by_name);
;
printf("%lx", (unsigned long)grpc_auth_context_peer_identity_property_name);
;
printf("%lx", (unsigned long)grpc_auth_context_peer_is_authenticated);
;
printf("%lx", (unsigned long)grpc_call_auth_context);
;
printf("%lx", (unsigned long)grpc_auth_context_release);
;
printf("%lx", (unsigned long)grpc_auth_context_add_property);
;
printf("%lx", (unsigned long)grpc_auth_context_add_cstring_property);
;
printf("%lx",
(unsigned long)grpc_auth_context_set_peer_identity_property_name);
;
printf("%lx", (unsigned long)grpc_channel_credentials_release);
;
printf("%lx", (unsigned long)grpc_google_default_credentials_create);
;
printf("%lx", (unsigned long)grpc_set_ssl_roots_override_callback);
;
printf("%lx", (unsigned long)grpc_ssl_credentials_create);
;
printf("%lx", (unsigned long)grpc_call_credentials_release);
;
printf("%lx", (unsigned long)grpc_composite_channel_credentials_create);
;
printf("%lx", (unsigned long)grpc_composite_call_credentials_create);
;
printf("%lx", (unsigned long)grpc_google_compute_engine_credentials_create);
;
printf("%lx", (unsigned long)grpc_max_auth_token_lifetime);
;
printf("%lx",
(unsigned long)grpc_service_account_jwt_access_credentials_create);
;
printf("%lx", (unsigned long)grpc_google_refresh_token_credentials_create);
;
printf("%lx", (unsigned long)grpc_access_token_credentials_create);
;
printf("%lx", (unsigned long)grpc_google_iam_credentials_create);
;
printf("%lx", (unsigned long)grpc_metadata_credentials_create_from_plugin);
;
printf("%lx", (unsigned long)grpc_secure_channel_create);
;
printf("%lx", (unsigned long)grpc_server_credentials_release);
;
printf("%lx", (unsigned long)grpc_ssl_server_certificate_config_create);
;
printf("%lx", (unsigned long)grpc_ssl_server_certificate_config_destroy);
;
printf("%lx", (unsigned long)grpc_ssl_server_credentials_create);
;
printf("%lx", (unsigned long)grpc_ssl_server_credentials_create_ex);
;
printf(
"%lx",
(unsigned long)grpc_ssl_server_credentials_create_options_using_config);
;
printf("%lx",
(unsigned long)
grpc_ssl_server_credentials_create_options_using_config_fetcher);
;
printf("%lx", (unsigned long)grpc_ssl_server_credentials_options_destroy);
;
printf("%lx",
(unsigned long)grpc_ssl_server_credentials_create_with_options);
;
printf("%lx", (unsigned long)grpc_server_add_secure_http2_port);
;
printf("%lx", (unsigned long)grpc_call_set_credentials);
;
printf("%lx",
(unsigned long)grpc_server_credentials_set_auth_metadata_processor);
;
printf("%lx", (unsigned long)grpc_raw_byte_buffer_create);
;
printf("%lx", (unsigned long)grpc_raw_compressed_byte_buffer_create);
;
printf("%lx", (unsigned long)grpc_byte_buffer_copy);
;
printf("%lx", (unsigned long)grpc_byte_buffer_length);
;
printf("%lx", (unsigned long)grpc_byte_buffer_destroy);
;
printf("%lx", (unsigned long)grpc_byte_buffer_reader_init);
;
printf("%lx", (unsigned long)grpc_byte_buffer_reader_destroy);
;
printf("%lx", (unsigned long)grpc_byte_buffer_reader_next);
;
printf("%lx", (unsigned long)grpc_byte_buffer_reader_readall);
;
printf("%lx", (unsigned long)grpc_raw_byte_buffer_from_reader);
;
printf("%lx", (unsigned long)grpc_slice_ref);
;
printf("%lx", (unsigned long)grpc_slice_unref);
;
printf("%lx", (unsigned long)grpc_slice_copy);
;
printf("%lx", (unsigned long)grpc_slice_new);
;
printf("%lx", (unsigned long)grpc_slice_new_with_user_data);
;
printf("%lx", (unsigned long)grpc_slice_new_with_len);
;
printf("%lx", (unsigned long)grpc_slice_malloc);
;
printf("%lx", (unsigned long)grpc_slice_malloc_large);
;
printf("%lx", (unsigned long)grpc_slice_intern);
;
printf("%lx", (unsigned long)grpc_slice_from_copied_string);
;
printf("%lx", (unsigned long)grpc_slice_from_copied_buffer);
;
printf("%lx", (unsigned long)grpc_slice_from_static_string);
;
printf("%lx", (unsigned long)grpc_slice_from_static_buffer);
;
printf("%lx", (unsigned long)grpc_slice_sub);
;
printf("%lx", (unsigned long)grpc_slice_sub_no_ref);
;
printf("%lx", (unsigned long)grpc_slice_split_tail);
;
printf("%lx", (unsigned long)grpc_slice_split_tail_maybe_ref);
;
printf("%lx", (unsigned long)grpc_slice_split_head);
;
printf("%lx", (unsigned long)grpc_empty_slice);
;
printf("%lx", (unsigned long)grpc_slice_default_hash_impl);
;
printf("%lx", (unsigned long)grpc_slice_default_eq_impl);
;
printf("%lx", (unsigned long)grpc_slice_eq);
;
printf("%lx", (unsigned long)grpc_slice_cmp);
;
printf("%lx", (unsigned long)grpc_slice_str_cmp);
;
printf("%lx", (unsigned long)grpc_slice_buf_start_eq);
;
printf("%lx", (unsigned long)grpc_slice_rchr);
;
printf("%lx", (unsigned long)grpc_slice_chr);
;
printf("%lx", (unsigned long)grpc_slice_slice);
;
printf("%lx", (unsigned long)grpc_slice_hash);
;
printf("%lx", (unsigned long)grpc_slice_is_equivalent);
;
printf("%lx", (unsigned long)grpc_slice_dup);
;
printf("%lx", (unsigned long)grpc_slice_to_c_string);
;
printf("%lx", (unsigned long)grpc_slice_buffer_init);
;
printf("%lx", (unsigned long)grpc_slice_buffer_destroy);
;
printf("%lx", (unsigned long)grpc_slice_buffer_add);
;
printf("%lx", (unsigned long)grpc_slice_buffer_add_indexed);
;
printf("%lx", (unsigned long)grpc_slice_buffer_addn);
;
printf("%lx", (unsigned long)grpc_slice_buffer_tiny_add);
;
printf("%lx", (unsigned long)grpc_slice_buffer_pop);
;
printf("%lx", (unsigned long)grpc_slice_buffer_reset_and_unref);
;
printf("%lx", (unsigned long)grpc_slice_buffer_swap);
;
printf("%lx", (unsigned long)grpc_slice_buffer_move_into);
;
printf("%lx", (unsigned long)grpc_slice_buffer_trim_end);
;
printf("%lx", (unsigned long)grpc_slice_buffer_move_first);
;
printf("%lx", (unsigned long)grpc_slice_buffer_move_first_no_ref);
;
printf("%lx", (unsigned long)grpc_slice_buffer_move_first_into_buffer);
;
printf("%lx", (unsigned long)grpc_slice_buffer_take_first);
;
printf("%lx", (unsigned long)grpc_slice_buffer_undo_take_first);
;
printf("%lx", (unsigned long)gpr_malloc);
;
printf("%lx", (unsigned long)gpr_zalloc);
;
printf("%lx", (unsigned long)gpr_free);
;
printf("%lx", (unsigned long)gpr_realloc);
;
printf("%lx", (unsigned long)gpr_malloc_aligned);
;
printf("%lx", (unsigned long)gpr_free_aligned);
;
printf("%lx", (unsigned long)gpr_set_allocation_functions);
;
printf("%lx", (unsigned long)gpr_get_allocation_functions);
;
printf("%lx", (unsigned long)gpr_avl_create);
;
printf("%lx", (unsigned long)gpr_avl_ref);
;
printf("%lx", (unsigned long)gpr_avl_unref);
;
printf("%lx", (unsigned long)gpr_avl_add);
;
printf("%lx", (unsigned long)gpr_avl_remove);
;
printf("%lx", (unsigned long)gpr_avl_get);
;
printf("%lx", (unsigned long)gpr_avl_maybe_get);
;
printf("%lx", (unsigned long)gpr_avl_is_empty);
;
printf("%lx", (unsigned long)gpr_cmdline_create);
;
printf("%lx", (unsigned long)gpr_cmdline_add_int);
;
printf("%lx", (unsigned long)gpr_cmdline_add_flag);
;
printf("%lx", (unsigned long)gpr_cmdline_add_string);
;
printf("%lx", (unsigned long)gpr_cmdline_on_extra_arg);
;
printf("%lx", (unsigned long)gpr_cmdline_set_survive_failure);
;
printf("%lx", (unsigned long)gpr_cmdline_parse);
;
printf("%lx", (unsigned long)gpr_cmdline_destroy);
;
printf("%lx", (unsigned long)gpr_cmdline_usage_string);
;
printf("%lx", (unsigned long)gpr_cpu_num_cores);
;
printf("%lx", (unsigned long)gpr_cpu_current_cpu);
;
printf("%lx", (unsigned long)gpr_histogram_create);
;
printf("%lx", (unsigned long)gpr_histogram_destroy);
;
printf("%lx", (unsigned long)gpr_histogram_add);
;
printf("%lx", (unsigned long)gpr_histogram_merge);
;
printf("%lx", (unsigned long)gpr_histogram_percentile);
;
printf("%lx", (unsigned long)gpr_histogram_mean);
;
printf("%lx", (unsigned long)gpr_histogram_stddev);
;
printf("%lx", (unsigned long)gpr_histogram_variance);
;
printf("%lx", (unsigned long)gpr_histogram_maximum);
;
printf("%lx", (unsigned long)gpr_histogram_minimum);
;
printf("%lx", (unsigned long)gpr_histogram_count);
;
printf("%lx", (unsigned long)gpr_histogram_sum);
;
printf("%lx", (unsigned long)gpr_histogram_sum_of_squares);
;
printf("%lx", (unsigned long)gpr_histogram_get_contents);
;
printf("%lx", (unsigned long)gpr_histogram_merge_contents);
;
printf("%lx", (unsigned long)gpr_join_host_port);
;
printf("%lx", (unsigned long)gpr_split_host_port);
;
printf("%lx", (unsigned long)gpr_log_severity_string);
;
printf("%lx", (unsigned long)gpr_log);
;
printf("%lx", (unsigned long)gpr_log_message);
;
printf("%lx", (unsigned long)gpr_set_log_verbosity);
;
printf("%lx", (unsigned long)gpr_log_verbosity_init);
;
printf("%lx", (unsigned long)gpr_set_log_function);
;
printf("%lx", (unsigned long)gpr_strdup);
;
printf("%lx", (unsigned long)gpr_asprintf);
;
printf("%lx", (unsigned long)gpr_subprocess_binary_extension);
;
printf("%lx", (unsigned long)gpr_subprocess_create);
;
printf("%lx", (unsigned long)gpr_subprocess_destroy);
;
printf("%lx", (unsigned long)gpr_subprocess_join);
;
printf("%lx", (unsigned long)gpr_subprocess_interrupt);
;
printf("%lx", (unsigned long)gpr_mu_init);
;
printf("%lx", (unsigned long)gpr_mu_destroy);
;
printf("%lx", (unsigned long)gpr_mu_lock);
;
printf("%lx", (unsigned long)gpr_mu_unlock);
;
printf("%lx", (unsigned long)gpr_mu_trylock);
;
printf("%lx", (unsigned long)gpr_cv_init);
;
printf("%lx", (unsigned long)gpr_cv_destroy);
;
printf("%lx", (unsigned long)gpr_cv_wait);
;
printf("%lx", (unsigned long)gpr_cv_signal);
;
printf("%lx", (unsigned long)gpr_cv_broadcast);
;
printf("%lx", (unsigned long)gpr_once_init);
;
printf("%lx", (unsigned long)gpr_event_init);
;
printf("%lx", (unsigned long)gpr_event_set);
;
printf("%lx", (unsigned long)gpr_event_get);
;
printf("%lx", (unsigned long)gpr_event_wait);
;
printf("%lx", (unsigned long)gpr_ref_init);
;
printf("%lx", (unsigned long)gpr_ref);
;
printf("%lx", (unsigned long)gpr_ref_non_zero);
;
printf("%lx", (unsigned long)gpr_refn);
;
printf("%lx", (unsigned long)gpr_unref);
;
printf("%lx", (unsigned long)gpr_ref_is_unique);
;
printf("%lx", (unsigned long)gpr_stats_init);
;
printf("%lx", (unsigned long)gpr_stats_inc);
;
printf("%lx", (unsigned long)gpr_stats_read);
;
printf("%lx", (unsigned long)gpr_thd_new);
;
printf("%lx", (unsigned long)gpr_thd_options_default);
;
printf("%lx", (unsigned long)gpr_thd_options_set_detached);
;
printf("%lx", (unsigned long)gpr_thd_options_set_joinable);
;
printf("%lx", (unsigned long)gpr_thd_options_is_detached);
;
printf("%lx", (unsigned long)gpr_thd_options_is_joinable);
;
printf("%lx", (unsigned long)gpr_thd_currentid);
;
printf("%lx", (unsigned long)gpr_thd_join);
;
printf("%lx", (unsigned long)gpr_time_0);
;
printf("%lx", (unsigned long)gpr_inf_future);
;
printf("%lx", (unsigned long)gpr_inf_past);
;
printf("%lx", (unsigned long)gpr_time_init);
;
printf("%lx", (unsigned long)gpr_now);
;
printf("%lx", (unsigned long)gpr_convert_clock_type);
;
printf("%lx", (unsigned long)gpr_time_cmp);
;
printf("%lx", (unsigned long)gpr_time_max);
;
printf("%lx", (unsigned long)gpr_time_min);
;
printf("%lx", (unsigned long)gpr_time_add);
;
printf("%lx", (unsigned long)gpr_time_sub);
;
printf("%lx", (unsigned long)gpr_time_from_micros);
;
printf("%lx", (unsigned long)gpr_time_from_nanos);
;
printf("%lx", (unsigned long)gpr_time_from_millis);
;
printf("%lx", (unsigned long)gpr_time_from_seconds);
;
printf("%lx", (unsigned long)gpr_time_from_minutes);
;
printf("%lx", (unsigned long)gpr_time_from_hours);
;
printf("%lx", (unsigned long)gpr_time_to_millis);
;
printf("%lx", (unsigned long)gpr_time_similar);
;
printf("%lx", (unsigned long)gpr_sleep_until);
;
printf("%lx", (unsigned long)gpr_timespec_to_micros);
;
}
return 0;
}

Loading…
Cancel
Save