|
|
|
@ -46,13 +46,13 @@ |
|
|
|
|
#include <grpc/support/thd.h> |
|
|
|
|
#include <grpc/support/time.h> |
|
|
|
|
|
|
|
|
|
typedef int(*grpc_compression_algorithm_parse_type)(grpc_slice value, grpc_compression_algorithm *algorithm); |
|
|
|
|
typedef int(*grpc_compression_algorithm_parse_type)(grpc_slice value, grpc_compression_algorithm* algorithm); |
|
|
|
|
extern grpc_compression_algorithm_parse_type grpc_compression_algorithm_parse_import; |
|
|
|
|
#define grpc_compression_algorithm_parse grpc_compression_algorithm_parse_import |
|
|
|
|
typedef int(*grpc_compression_algorithm_name_type)(grpc_compression_algorithm algorithm, const char **name); |
|
|
|
|
typedef int(*grpc_compression_algorithm_name_type)(grpc_compression_algorithm algorithm, const char** name); |
|
|
|
|
extern grpc_compression_algorithm_name_type grpc_compression_algorithm_name_import; |
|
|
|
|
#define grpc_compression_algorithm_name grpc_compression_algorithm_name_import |
|
|
|
|
typedef int(*grpc_stream_compression_algorithm_name_type)(grpc_stream_compression_algorithm algorithm, const char **name); |
|
|
|
|
typedef int(*grpc_stream_compression_algorithm_name_type)(grpc_stream_compression_algorithm algorithm, const char** name); |
|
|
|
|
extern grpc_stream_compression_algorithm_name_type grpc_stream_compression_algorithm_name_import; |
|
|
|
|
#define grpc_stream_compression_algorithm_name grpc_stream_compression_algorithm_name_import |
|
|
|
|
typedef grpc_compression_algorithm(*grpc_compression_algorithm_for_level_type)(grpc_compression_level level, uint32_t accepted_encodings); |
|
|
|
@ -61,31 +61,31 @@ extern grpc_compression_algorithm_for_level_type grpc_compression_algorithm_for_ |
|
|
|
|
typedef grpc_stream_compression_algorithm(*grpc_stream_compression_algorithm_for_level_type)(grpc_stream_compression_level level, uint32_t accepted_stream_encodings); |
|
|
|
|
extern grpc_stream_compression_algorithm_for_level_type grpc_stream_compression_algorithm_for_level_import; |
|
|
|
|
#define grpc_stream_compression_algorithm_for_level grpc_stream_compression_algorithm_for_level_import |
|
|
|
|
typedef void(*grpc_compression_options_init_type)(grpc_compression_options *opts); |
|
|
|
|
typedef void(*grpc_compression_options_init_type)(grpc_compression_options* opts); |
|
|
|
|
extern grpc_compression_options_init_type grpc_compression_options_init_import; |
|
|
|
|
#define grpc_compression_options_init grpc_compression_options_init_import |
|
|
|
|
typedef void(*grpc_compression_options_enable_algorithm_type)(grpc_compression_options *opts, grpc_compression_algorithm algorithm); |
|
|
|
|
typedef void(*grpc_compression_options_enable_algorithm_type)(grpc_compression_options* opts, grpc_compression_algorithm algorithm); |
|
|
|
|
extern grpc_compression_options_enable_algorithm_type grpc_compression_options_enable_algorithm_import; |
|
|
|
|
#define grpc_compression_options_enable_algorithm grpc_compression_options_enable_algorithm_import |
|
|
|
|
typedef void(*grpc_compression_options_disable_algorithm_type)(grpc_compression_options *opts, grpc_compression_algorithm algorithm); |
|
|
|
|
typedef void(*grpc_compression_options_disable_algorithm_type)(grpc_compression_options* opts, grpc_compression_algorithm algorithm); |
|
|
|
|
extern grpc_compression_options_disable_algorithm_type grpc_compression_options_disable_algorithm_import; |
|
|
|
|
#define grpc_compression_options_disable_algorithm grpc_compression_options_disable_algorithm_import |
|
|
|
|
typedef int(*grpc_compression_options_is_algorithm_enabled_type)(const grpc_compression_options *opts, grpc_compression_algorithm algorithm); |
|
|
|
|
typedef int(*grpc_compression_options_is_algorithm_enabled_type)(const grpc_compression_options* opts, grpc_compression_algorithm algorithm); |
|
|
|
|
extern grpc_compression_options_is_algorithm_enabled_type grpc_compression_options_is_algorithm_enabled_import; |
|
|
|
|
#define grpc_compression_options_is_algorithm_enabled grpc_compression_options_is_algorithm_enabled_import |
|
|
|
|
typedef int(*grpc_compression_options_is_stream_compression_algorithm_enabled_type)(const grpc_compression_options *opts, grpc_stream_compression_algorithm algorithm); |
|
|
|
|
typedef int(*grpc_compression_options_is_stream_compression_algorithm_enabled_type)(const grpc_compression_options* opts, grpc_stream_compression_algorithm algorithm); |
|
|
|
|
extern grpc_compression_options_is_stream_compression_algorithm_enabled_type grpc_compression_options_is_stream_compression_algorithm_enabled_import; |
|
|
|
|
#define grpc_compression_options_is_stream_compression_algorithm_enabled grpc_compression_options_is_stream_compression_algorithm_enabled_import |
|
|
|
|
typedef void(*grpc_metadata_array_init_type)(grpc_metadata_array *array); |
|
|
|
|
typedef void(*grpc_metadata_array_init_type)(grpc_metadata_array* array); |
|
|
|
|
extern grpc_metadata_array_init_type grpc_metadata_array_init_import; |
|
|
|
|
#define grpc_metadata_array_init grpc_metadata_array_init_import |
|
|
|
|
typedef void(*grpc_metadata_array_destroy_type)(grpc_metadata_array *array); |
|
|
|
|
typedef void(*grpc_metadata_array_destroy_type)(grpc_metadata_array* array); |
|
|
|
|
extern grpc_metadata_array_destroy_type grpc_metadata_array_destroy_import; |
|
|
|
|
#define grpc_metadata_array_destroy grpc_metadata_array_destroy_import |
|
|
|
|
typedef void(*grpc_call_details_init_type)(grpc_call_details *details); |
|
|
|
|
typedef void(*grpc_call_details_init_type)(grpc_call_details* details); |
|
|
|
|
extern grpc_call_details_init_type grpc_call_details_init_import; |
|
|
|
|
#define grpc_call_details_init grpc_call_details_init_import |
|
|
|
|
typedef void(*grpc_call_details_destroy_type)(grpc_call_details *details); |
|
|
|
|
typedef void(*grpc_call_details_destroy_type)(grpc_call_details* details); |
|
|
|
|
extern grpc_call_details_destroy_type grpc_call_details_destroy_import; |
|
|
|
|
#define grpc_call_details_destroy grpc_call_details_destroy_import |
|
|
|
|
typedef void(*grpc_register_plugin_type)(void (*init)(void), void (*destroy)(void)); |
|
|
|
@ -97,151 +97,151 @@ extern grpc_init_type grpc_init_import; |
|
|
|
|
typedef void(*grpc_shutdown_type)(void); |
|
|
|
|
extern grpc_shutdown_type grpc_shutdown_import; |
|
|
|
|
#define grpc_shutdown grpc_shutdown_import |
|
|
|
|
typedef const char *(*grpc_version_string_type)(void); |
|
|
|
|
typedef const char*(*grpc_version_string_type)(void); |
|
|
|
|
extern grpc_version_string_type grpc_version_string_import; |
|
|
|
|
#define grpc_version_string grpc_version_string_import |
|
|
|
|
typedef const char *(*grpc_g_stands_for_type)(void); |
|
|
|
|
typedef const char*(*grpc_g_stands_for_type)(void); |
|
|
|
|
extern grpc_g_stands_for_type grpc_g_stands_for_import; |
|
|
|
|
#define grpc_g_stands_for grpc_g_stands_for_import |
|
|
|
|
typedef const grpc_completion_queue_factory *(*grpc_completion_queue_factory_lookup_type)(const grpc_completion_queue_attributes *attributes); |
|
|
|
|
typedef const grpc_completion_queue_factory*(*grpc_completion_queue_factory_lookup_type)(const grpc_completion_queue_attributes* attributes); |
|
|
|
|
extern grpc_completion_queue_factory_lookup_type grpc_completion_queue_factory_lookup_import; |
|
|
|
|
#define grpc_completion_queue_factory_lookup grpc_completion_queue_factory_lookup_import |
|
|
|
|
typedef grpc_completion_queue *(*grpc_completion_queue_create_for_next_type)(void *reserved); |
|
|
|
|
typedef grpc_completion_queue*(*grpc_completion_queue_create_for_next_type)(void* reserved); |
|
|
|
|
extern grpc_completion_queue_create_for_next_type grpc_completion_queue_create_for_next_import; |
|
|
|
|
#define grpc_completion_queue_create_for_next grpc_completion_queue_create_for_next_import |
|
|
|
|
typedef grpc_completion_queue *(*grpc_completion_queue_create_for_pluck_type)(void *reserved); |
|
|
|
|
typedef grpc_completion_queue*(*grpc_completion_queue_create_for_pluck_type)(void* reserved); |
|
|
|
|
extern grpc_completion_queue_create_for_pluck_type grpc_completion_queue_create_for_pluck_import; |
|
|
|
|
#define grpc_completion_queue_create_for_pluck grpc_completion_queue_create_for_pluck_import |
|
|
|
|
typedef grpc_completion_queue *(*grpc_completion_queue_create_type)(const grpc_completion_queue_factory *factory, const grpc_completion_queue_attributes *attributes, void *reserved); |
|
|
|
|
typedef grpc_completion_queue*(*grpc_completion_queue_create_type)(const grpc_completion_queue_factory* factory, const grpc_completion_queue_attributes* attributes, void* reserved); |
|
|
|
|
extern grpc_completion_queue_create_type grpc_completion_queue_create_import; |
|
|
|
|
#define grpc_completion_queue_create grpc_completion_queue_create_import |
|
|
|
|
typedef grpc_event(*grpc_completion_queue_next_type)(grpc_completion_queue *cq, gpr_timespec deadline, void *reserved); |
|
|
|
|
typedef grpc_event(*grpc_completion_queue_next_type)(grpc_completion_queue* cq, gpr_timespec deadline, void* reserved); |
|
|
|
|
extern grpc_completion_queue_next_type grpc_completion_queue_next_import; |
|
|
|
|
#define grpc_completion_queue_next grpc_completion_queue_next_import |
|
|
|
|
typedef grpc_event(*grpc_completion_queue_pluck_type)(grpc_completion_queue *cq, void *tag, gpr_timespec deadline, void *reserved); |
|
|
|
|
typedef grpc_event(*grpc_completion_queue_pluck_type)(grpc_completion_queue* cq, void* tag, gpr_timespec deadline, void* reserved); |
|
|
|
|
extern grpc_completion_queue_pluck_type grpc_completion_queue_pluck_import; |
|
|
|
|
#define grpc_completion_queue_pluck grpc_completion_queue_pluck_import |
|
|
|
|
typedef void(*grpc_completion_queue_shutdown_type)(grpc_completion_queue *cq); |
|
|
|
|
typedef void(*grpc_completion_queue_shutdown_type)(grpc_completion_queue* cq); |
|
|
|
|
extern grpc_completion_queue_shutdown_type grpc_completion_queue_shutdown_import; |
|
|
|
|
#define grpc_completion_queue_shutdown grpc_completion_queue_shutdown_import |
|
|
|
|
typedef void(*grpc_completion_queue_destroy_type)(grpc_completion_queue *cq); |
|
|
|
|
typedef void(*grpc_completion_queue_destroy_type)(grpc_completion_queue* cq); |
|
|
|
|
extern grpc_completion_queue_destroy_type grpc_completion_queue_destroy_import; |
|
|
|
|
#define grpc_completion_queue_destroy grpc_completion_queue_destroy_import |
|
|
|
|
typedef void(*grpc_completion_queue_thread_local_cache_init_type)(grpc_completion_queue *cq); |
|
|
|
|
typedef void(*grpc_completion_queue_thread_local_cache_init_type)(grpc_completion_queue* cq); |
|
|
|
|
extern grpc_completion_queue_thread_local_cache_init_type grpc_completion_queue_thread_local_cache_init_import; |
|
|
|
|
#define grpc_completion_queue_thread_local_cache_init grpc_completion_queue_thread_local_cache_init_import |
|
|
|
|
typedef int(*grpc_completion_queue_thread_local_cache_flush_type)(grpc_completion_queue *cq, void **tag, int *ok); |
|
|
|
|
typedef int(*grpc_completion_queue_thread_local_cache_flush_type)(grpc_completion_queue* cq, void** tag, int* ok); |
|
|
|
|
extern grpc_completion_queue_thread_local_cache_flush_type grpc_completion_queue_thread_local_cache_flush_import; |
|
|
|
|
#define grpc_completion_queue_thread_local_cache_flush grpc_completion_queue_thread_local_cache_flush_import |
|
|
|
|
typedef grpc_alarm *(*grpc_alarm_create_type)(void *reserved); |
|
|
|
|
typedef grpc_alarm*(*grpc_alarm_create_type)(void* reserved); |
|
|
|
|
extern grpc_alarm_create_type grpc_alarm_create_import; |
|
|
|
|
#define grpc_alarm_create grpc_alarm_create_import |
|
|
|
|
typedef void(*grpc_alarm_set_type)(grpc_alarm *alarm, grpc_completion_queue *cq, gpr_timespec deadline, void *tag, void *reserved); |
|
|
|
|
typedef void(*grpc_alarm_set_type)(grpc_alarm* alarm, grpc_completion_queue* cq, gpr_timespec deadline, void* tag, void* reserved); |
|
|
|
|
extern grpc_alarm_set_type grpc_alarm_set_import; |
|
|
|
|
#define grpc_alarm_set grpc_alarm_set_import |
|
|
|
|
typedef void(*grpc_alarm_cancel_type)(grpc_alarm *alarm, void *reserved); |
|
|
|
|
typedef void(*grpc_alarm_cancel_type)(grpc_alarm* alarm, void* reserved); |
|
|
|
|
extern grpc_alarm_cancel_type grpc_alarm_cancel_import; |
|
|
|
|
#define grpc_alarm_cancel grpc_alarm_cancel_import |
|
|
|
|
typedef void(*grpc_alarm_destroy_type)(grpc_alarm *alarm, void *reserved); |
|
|
|
|
typedef void(*grpc_alarm_destroy_type)(grpc_alarm* alarm, void* reserved); |
|
|
|
|
extern grpc_alarm_destroy_type grpc_alarm_destroy_import; |
|
|
|
|
#define grpc_alarm_destroy grpc_alarm_destroy_import |
|
|
|
|
typedef grpc_connectivity_state(*grpc_channel_check_connectivity_state_type)(grpc_channel *channel, int try_to_connect); |
|
|
|
|
typedef grpc_connectivity_state(*grpc_channel_check_connectivity_state_type)(grpc_channel* channel, int try_to_connect); |
|
|
|
|
extern grpc_channel_check_connectivity_state_type grpc_channel_check_connectivity_state_import; |
|
|
|
|
#define grpc_channel_check_connectivity_state grpc_channel_check_connectivity_state_import |
|
|
|
|
typedef int(*grpc_channel_num_external_connectivity_watchers_type)(grpc_channel *channel); |
|
|
|
|
typedef int(*grpc_channel_num_external_connectivity_watchers_type)(grpc_channel* channel); |
|
|
|
|
extern grpc_channel_num_external_connectivity_watchers_type grpc_channel_num_external_connectivity_watchers_import; |
|
|
|
|
#define grpc_channel_num_external_connectivity_watchers grpc_channel_num_external_connectivity_watchers_import |
|
|
|
|
typedef void(*grpc_channel_watch_connectivity_state_type)(grpc_channel *channel, grpc_connectivity_state last_observed_state, gpr_timespec deadline, grpc_completion_queue *cq, void *tag); |
|
|
|
|
typedef void(*grpc_channel_watch_connectivity_state_type)(grpc_channel* channel, grpc_connectivity_state last_observed_state, gpr_timespec deadline, grpc_completion_queue* cq, void* tag); |
|
|
|
|
extern grpc_channel_watch_connectivity_state_type grpc_channel_watch_connectivity_state_import; |
|
|
|
|
#define grpc_channel_watch_connectivity_state grpc_channel_watch_connectivity_state_import |
|
|
|
|
typedef int(*grpc_channel_support_connectivity_watcher_type)(grpc_channel *channel); |
|
|
|
|
typedef int(*grpc_channel_support_connectivity_watcher_type)(grpc_channel* channel); |
|
|
|
|
extern grpc_channel_support_connectivity_watcher_type grpc_channel_support_connectivity_watcher_import; |
|
|
|
|
#define grpc_channel_support_connectivity_watcher grpc_channel_support_connectivity_watcher_import |
|
|
|
|
typedef grpc_call *(*grpc_channel_create_call_type)(grpc_channel *channel, grpc_call *parent_call, uint32_t propagation_mask, grpc_completion_queue *completion_queue, grpc_slice method, const grpc_slice *host, gpr_timespec deadline, void *reserved); |
|
|
|
|
typedef grpc_call*(*grpc_channel_create_call_type)(grpc_channel* channel, grpc_call* parent_call, uint32_t propagation_mask, grpc_completion_queue* completion_queue, grpc_slice method, const grpc_slice* host, gpr_timespec deadline, void* reserved); |
|
|
|
|
extern grpc_channel_create_call_type grpc_channel_create_call_import; |
|
|
|
|
#define grpc_channel_create_call grpc_channel_create_call_import |
|
|
|
|
typedef void(*grpc_channel_ping_type)(grpc_channel *channel, grpc_completion_queue *cq, void *tag, void *reserved); |
|
|
|
|
typedef void(*grpc_channel_ping_type)(grpc_channel* channel, grpc_completion_queue* cq, void* tag, void* reserved); |
|
|
|
|
extern grpc_channel_ping_type grpc_channel_ping_import; |
|
|
|
|
#define grpc_channel_ping grpc_channel_ping_import |
|
|
|
|
typedef void *(*grpc_channel_register_call_type)(grpc_channel *channel, const char *method, const char *host, void *reserved); |
|
|
|
|
typedef void*(*grpc_channel_register_call_type)(grpc_channel* channel, const char* method, const char* host, void* reserved); |
|
|
|
|
extern grpc_channel_register_call_type grpc_channel_register_call_import; |
|
|
|
|
#define grpc_channel_register_call grpc_channel_register_call_import |
|
|
|
|
typedef grpc_call *(*grpc_channel_create_registered_call_type)(grpc_channel *channel, grpc_call *parent_call, uint32_t propagation_mask, grpc_completion_queue *completion_queue, void *registered_call_handle, gpr_timespec deadline, void *reserved); |
|
|
|
|
typedef grpc_call*(*grpc_channel_create_registered_call_type)(grpc_channel* channel, grpc_call* parent_call, uint32_t propagation_mask, grpc_completion_queue* completion_queue, void* registered_call_handle, gpr_timespec deadline, void* reserved); |
|
|
|
|
extern grpc_channel_create_registered_call_type grpc_channel_create_registered_call_import; |
|
|
|
|
#define grpc_channel_create_registered_call grpc_channel_create_registered_call_import |
|
|
|
|
typedef void *(*grpc_call_arena_alloc_type)(grpc_call *call, size_t size); |
|
|
|
|
typedef void*(*grpc_call_arena_alloc_type)(grpc_call* call, size_t size); |
|
|
|
|
extern grpc_call_arena_alloc_type grpc_call_arena_alloc_import; |
|
|
|
|
#define grpc_call_arena_alloc grpc_call_arena_alloc_import |
|
|
|
|
typedef grpc_call_error(*grpc_call_start_batch_type)(grpc_call *call, const grpc_op *ops, size_t nops, void *tag, void *reserved); |
|
|
|
|
typedef grpc_call_error(*grpc_call_start_batch_type)(grpc_call* call, const grpc_op* ops, size_t nops, void* tag, void* reserved); |
|
|
|
|
extern grpc_call_start_batch_type grpc_call_start_batch_import; |
|
|
|
|
#define grpc_call_start_batch grpc_call_start_batch_import |
|
|
|
|
typedef char *(*grpc_call_get_peer_type)(grpc_call *call); |
|
|
|
|
typedef char*(*grpc_call_get_peer_type)(grpc_call* call); |
|
|
|
|
extern grpc_call_get_peer_type grpc_call_get_peer_import; |
|
|
|
|
#define grpc_call_get_peer grpc_call_get_peer_import |
|
|
|
|
typedef void(*grpc_census_call_set_context_type)(grpc_call *call, struct census_context *context); |
|
|
|
|
typedef void(*grpc_census_call_set_context_type)(grpc_call* call, struct census_context* context); |
|
|
|
|
extern grpc_census_call_set_context_type grpc_census_call_set_context_import; |
|
|
|
|
#define grpc_census_call_set_context grpc_census_call_set_context_import |
|
|
|
|
typedef struct census_context *(*grpc_census_call_get_context_type)(grpc_call *call); |
|
|
|
|
typedef struct census_context*(*grpc_census_call_get_context_type)(grpc_call* call); |
|
|
|
|
extern grpc_census_call_get_context_type grpc_census_call_get_context_import; |
|
|
|
|
#define grpc_census_call_get_context grpc_census_call_get_context_import |
|
|
|
|
typedef char *(*grpc_channel_get_target_type)(grpc_channel *channel); |
|
|
|
|
typedef char*(*grpc_channel_get_target_type)(grpc_channel* channel); |
|
|
|
|
extern grpc_channel_get_target_type grpc_channel_get_target_import; |
|
|
|
|
#define grpc_channel_get_target grpc_channel_get_target_import |
|
|
|
|
typedef void(*grpc_channel_get_info_type)(grpc_channel *channel, const grpc_channel_info *channel_info); |
|
|
|
|
typedef void(*grpc_channel_get_info_type)(grpc_channel* channel, const grpc_channel_info* channel_info); |
|
|
|
|
extern grpc_channel_get_info_type grpc_channel_get_info_import; |
|
|
|
|
#define grpc_channel_get_info grpc_channel_get_info_import |
|
|
|
|
typedef grpc_channel *(*grpc_insecure_channel_create_type)(const char *target, const grpc_channel_args *args, void *reserved); |
|
|
|
|
typedef grpc_channel*(*grpc_insecure_channel_create_type)(const char* target, const grpc_channel_args* args, void* reserved); |
|
|
|
|
extern grpc_insecure_channel_create_type grpc_insecure_channel_create_import; |
|
|
|
|
#define grpc_insecure_channel_create grpc_insecure_channel_create_import |
|
|
|
|
typedef grpc_channel *(*grpc_lame_client_channel_create_type)(const char *target, grpc_status_code error_code, const char *error_message); |
|
|
|
|
typedef grpc_channel*(*grpc_lame_client_channel_create_type)(const char* target, grpc_status_code error_code, const char* error_message); |
|
|
|
|
extern grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import; |
|
|
|
|
#define grpc_lame_client_channel_create grpc_lame_client_channel_create_import |
|
|
|
|
typedef void(*grpc_channel_destroy_type)(grpc_channel *channel); |
|
|
|
|
typedef void(*grpc_channel_destroy_type)(grpc_channel* channel); |
|
|
|
|
extern grpc_channel_destroy_type grpc_channel_destroy_import; |
|
|
|
|
#define grpc_channel_destroy grpc_channel_destroy_import |
|
|
|
|
typedef grpc_call_error(*grpc_call_cancel_type)(grpc_call *call, void *reserved); |
|
|
|
|
typedef grpc_call_error(*grpc_call_cancel_type)(grpc_call* call, void* reserved); |
|
|
|
|
extern grpc_call_cancel_type grpc_call_cancel_import; |
|
|
|
|
#define grpc_call_cancel grpc_call_cancel_import |
|
|
|
|
typedef grpc_call_error(*grpc_call_cancel_with_status_type)(grpc_call *call, grpc_status_code status, const char *description, void *reserved); |
|
|
|
|
typedef grpc_call_error(*grpc_call_cancel_with_status_type)(grpc_call* call, grpc_status_code status, const char* description, void* reserved); |
|
|
|
|
extern grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import; |
|
|
|
|
#define grpc_call_cancel_with_status grpc_call_cancel_with_status_import |
|
|
|
|
typedef void(*grpc_call_ref_type)(grpc_call *call); |
|
|
|
|
typedef void(*grpc_call_ref_type)(grpc_call* call); |
|
|
|
|
extern grpc_call_ref_type grpc_call_ref_import; |
|
|
|
|
#define grpc_call_ref grpc_call_ref_import |
|
|
|
|
typedef void(*grpc_call_unref_type)(grpc_call *call); |
|
|
|
|
typedef void(*grpc_call_unref_type)(grpc_call* call); |
|
|
|
|
extern grpc_call_unref_type grpc_call_unref_import; |
|
|
|
|
#define grpc_call_unref grpc_call_unref_import |
|
|
|
|
typedef grpc_call_error(*grpc_server_request_call_type)(grpc_server *server, grpc_call **call, grpc_call_details *details, grpc_metadata_array *request_metadata, grpc_completion_queue *cq_bound_to_call, grpc_completion_queue *cq_for_notification, void *tag_new); |
|
|
|
|
typedef grpc_call_error(*grpc_server_request_call_type)(grpc_server* server, grpc_call** call, grpc_call_details* details, grpc_metadata_array* request_metadata, grpc_completion_queue* cq_bound_to_call, grpc_completion_queue* cq_for_notification, void* tag_new); |
|
|
|
|
extern grpc_server_request_call_type grpc_server_request_call_import; |
|
|
|
|
#define grpc_server_request_call grpc_server_request_call_import |
|
|
|
|
typedef void *(*grpc_server_register_method_type)(grpc_server *server, const char *method, const char *host, grpc_server_register_method_payload_handling payload_handling, uint32_t flags); |
|
|
|
|
typedef void*(*grpc_server_register_method_type)(grpc_server* server, const char* method, const char* host, grpc_server_register_method_payload_handling payload_handling, uint32_t flags); |
|
|
|
|
extern grpc_server_register_method_type grpc_server_register_method_import; |
|
|
|
|
#define grpc_server_register_method grpc_server_register_method_import |
|
|
|
|
typedef grpc_call_error(*grpc_server_request_registered_call_type)(grpc_server *server, void *registered_method, grpc_call **call, gpr_timespec *deadline, grpc_metadata_array *request_metadata, grpc_byte_buffer **optional_payload, grpc_completion_queue *cq_bound_to_call, grpc_completion_queue *cq_for_notification, void *tag_new); |
|
|
|
|
typedef grpc_call_error(*grpc_server_request_registered_call_type)(grpc_server* server, void* registered_method, grpc_call** call, gpr_timespec* deadline, grpc_metadata_array* request_metadata, grpc_byte_buffer** optional_payload, grpc_completion_queue* cq_bound_to_call, grpc_completion_queue* cq_for_notification, void* tag_new); |
|
|
|
|
extern grpc_server_request_registered_call_type grpc_server_request_registered_call_import; |
|
|
|
|
#define grpc_server_request_registered_call grpc_server_request_registered_call_import |
|
|
|
|
typedef grpc_server *(*grpc_server_create_type)(const grpc_channel_args *args, void *reserved); |
|
|
|
|
typedef grpc_server*(*grpc_server_create_type)(const grpc_channel_args* args, void* reserved); |
|
|
|
|
extern grpc_server_create_type grpc_server_create_import; |
|
|
|
|
#define grpc_server_create grpc_server_create_import |
|
|
|
|
typedef void(*grpc_server_register_completion_queue_type)(grpc_server *server, grpc_completion_queue *cq, void *reserved); |
|
|
|
|
typedef void(*grpc_server_register_completion_queue_type)(grpc_server* server, grpc_completion_queue* cq, void* reserved); |
|
|
|
|
extern grpc_server_register_completion_queue_type grpc_server_register_completion_queue_import; |
|
|
|
|
#define grpc_server_register_completion_queue grpc_server_register_completion_queue_import |
|
|
|
|
typedef int(*grpc_server_add_insecure_http2_port_type)(grpc_server *server, const char *addr); |
|
|
|
|
typedef int(*grpc_server_add_insecure_http2_port_type)(grpc_server* server, const char* addr); |
|
|
|
|
extern grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import; |
|
|
|
|
#define grpc_server_add_insecure_http2_port grpc_server_add_insecure_http2_port_import |
|
|
|
|
typedef void(*grpc_server_start_type)(grpc_server *server); |
|
|
|
|
typedef void(*grpc_server_start_type)(grpc_server* server); |
|
|
|
|
extern grpc_server_start_type grpc_server_start_import; |
|
|
|
|
#define grpc_server_start grpc_server_start_import |
|
|
|
|
typedef void(*grpc_server_shutdown_and_notify_type)(grpc_server *server, grpc_completion_queue *cq, void *tag); |
|
|
|
|
typedef void(*grpc_server_shutdown_and_notify_type)(grpc_server* server, grpc_completion_queue* cq, void* tag); |
|
|
|
|
extern grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import; |
|
|
|
|
#define grpc_server_shutdown_and_notify grpc_server_shutdown_and_notify_import |
|
|
|
|
typedef void(*grpc_server_cancel_all_calls_type)(grpc_server *server); |
|
|
|
|
typedef void(*grpc_server_cancel_all_calls_type)(grpc_server* server); |
|
|
|
|
extern grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import; |
|
|
|
|
#define grpc_server_cancel_all_calls grpc_server_cancel_all_calls_import |
|
|
|
|
typedef void(*grpc_server_destroy_type)(grpc_server *server); |
|
|
|
|
typedef void(*grpc_server_destroy_type)(grpc_server* server); |
|
|
|
|
extern grpc_server_destroy_type grpc_server_destroy_import; |
|
|
|
|
#define grpc_server_destroy grpc_server_destroy_import |
|
|
|
|
typedef int(*grpc_tracer_set_enabled_type)(const char *name, int enabled); |
|
|
|
|
typedef int(*grpc_tracer_set_enabled_type)(const char* name, int enabled); |
|
|
|
|
extern grpc_tracer_set_enabled_type grpc_tracer_set_enabled_import; |
|
|
|
|
#define grpc_tracer_set_enabled grpc_tracer_set_enabled_import |
|
|
|
|
typedef int(*grpc_header_key_is_legal_type)(grpc_slice slice); |
|
|
|
@ -253,175 +253,175 @@ extern grpc_header_nonbin_value_is_legal_type grpc_header_nonbin_value_is_legal_ |
|
|
|
|
typedef int(*grpc_is_binary_header_type)(grpc_slice slice); |
|
|
|
|
extern grpc_is_binary_header_type grpc_is_binary_header_import; |
|
|
|
|
#define grpc_is_binary_header grpc_is_binary_header_import |
|
|
|
|
typedef const char *(*grpc_call_error_to_string_type)(grpc_call_error error); |
|
|
|
|
typedef const char*(*grpc_call_error_to_string_type)(grpc_call_error error); |
|
|
|
|
extern grpc_call_error_to_string_type grpc_call_error_to_string_import; |
|
|
|
|
#define grpc_call_error_to_string grpc_call_error_to_string_import |
|
|
|
|
typedef grpc_resource_quota *(*grpc_resource_quota_create_type)(const char *trace_name); |
|
|
|
|
typedef grpc_resource_quota*(*grpc_resource_quota_create_type)(const char* trace_name); |
|
|
|
|
extern grpc_resource_quota_create_type grpc_resource_quota_create_import; |
|
|
|
|
#define grpc_resource_quota_create grpc_resource_quota_create_import |
|
|
|
|
typedef void(*grpc_resource_quota_ref_type)(grpc_resource_quota *resource_quota); |
|
|
|
|
typedef void(*grpc_resource_quota_ref_type)(grpc_resource_quota* resource_quota); |
|
|
|
|
extern grpc_resource_quota_ref_type grpc_resource_quota_ref_import; |
|
|
|
|
#define grpc_resource_quota_ref grpc_resource_quota_ref_import |
|
|
|
|
typedef void(*grpc_resource_quota_unref_type)(grpc_resource_quota *resource_quota); |
|
|
|
|
typedef void(*grpc_resource_quota_unref_type)(grpc_resource_quota* resource_quota); |
|
|
|
|
extern grpc_resource_quota_unref_type grpc_resource_quota_unref_import; |
|
|
|
|
#define grpc_resource_quota_unref grpc_resource_quota_unref_import |
|
|
|
|
typedef void(*grpc_resource_quota_resize_type)(grpc_resource_quota *resource_quota, size_t new_size); |
|
|
|
|
typedef void(*grpc_resource_quota_resize_type)(grpc_resource_quota* resource_quota, size_t new_size); |
|
|
|
|
extern grpc_resource_quota_resize_type grpc_resource_quota_resize_import; |
|
|
|
|
#define grpc_resource_quota_resize grpc_resource_quota_resize_import |
|
|
|
|
typedef const grpc_arg_pointer_vtable *(*grpc_resource_quota_arg_vtable_type)(void); |
|
|
|
|
typedef const grpc_arg_pointer_vtable*(*grpc_resource_quota_arg_vtable_type)(void); |
|
|
|
|
extern grpc_resource_quota_arg_vtable_type grpc_resource_quota_arg_vtable_import; |
|
|
|
|
#define grpc_resource_quota_arg_vtable grpc_resource_quota_arg_vtable_import |
|
|
|
|
typedef grpc_channel *(*grpc_insecure_channel_create_from_fd_type)(const char *target, int fd, const grpc_channel_args *args); |
|
|
|
|
typedef grpc_channel*(*grpc_insecure_channel_create_from_fd_type)(const char* target, int fd, const grpc_channel_args* args); |
|
|
|
|
extern grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import; |
|
|
|
|
#define grpc_insecure_channel_create_from_fd grpc_insecure_channel_create_from_fd_import |
|
|
|
|
typedef void(*grpc_server_add_insecure_channel_from_fd_type)(grpc_server *server, void *reserved, int fd); |
|
|
|
|
typedef void(*grpc_server_add_insecure_channel_from_fd_type)(grpc_server* server, void* reserved, int fd); |
|
|
|
|
extern grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import; |
|
|
|
|
#define grpc_server_add_insecure_channel_from_fd grpc_server_add_insecure_channel_from_fd_import |
|
|
|
|
typedef void(*grpc_use_signal_type)(int signum); |
|
|
|
|
extern grpc_use_signal_type grpc_use_signal_import; |
|
|
|
|
#define grpc_use_signal grpc_use_signal_import |
|
|
|
|
typedef const grpc_auth_property *(*grpc_auth_property_iterator_next_type)(grpc_auth_property_iterator *it); |
|
|
|
|
typedef const grpc_auth_property*(*grpc_auth_property_iterator_next_type)(grpc_auth_property_iterator* it); |
|
|
|
|
extern grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import; |
|
|
|
|
#define grpc_auth_property_iterator_next grpc_auth_property_iterator_next_import |
|
|
|
|
typedef grpc_auth_property_iterator(*grpc_auth_context_property_iterator_type)(const grpc_auth_context *ctx); |
|
|
|
|
typedef grpc_auth_property_iterator(*grpc_auth_context_property_iterator_type)(const grpc_auth_context* ctx); |
|
|
|
|
extern grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import; |
|
|
|
|
#define grpc_auth_context_property_iterator grpc_auth_context_property_iterator_import |
|
|
|
|
typedef grpc_auth_property_iterator(*grpc_auth_context_peer_identity_type)(const grpc_auth_context *ctx); |
|
|
|
|
typedef grpc_auth_property_iterator(*grpc_auth_context_peer_identity_type)(const grpc_auth_context* ctx); |
|
|
|
|
extern grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import; |
|
|
|
|
#define grpc_auth_context_peer_identity grpc_auth_context_peer_identity_import |
|
|
|
|
typedef grpc_auth_property_iterator(*grpc_auth_context_find_properties_by_name_type)(const grpc_auth_context *ctx, const char *name); |
|
|
|
|
typedef grpc_auth_property_iterator(*grpc_auth_context_find_properties_by_name_type)(const grpc_auth_context* ctx, const char* name); |
|
|
|
|
extern grpc_auth_context_find_properties_by_name_type grpc_auth_context_find_properties_by_name_import; |
|
|
|
|
#define grpc_auth_context_find_properties_by_name grpc_auth_context_find_properties_by_name_import |
|
|
|
|
typedef const char *(*grpc_auth_context_peer_identity_property_name_type)(const grpc_auth_context *ctx); |
|
|
|
|
typedef const char*(*grpc_auth_context_peer_identity_property_name_type)(const grpc_auth_context* ctx); |
|
|
|
|
extern grpc_auth_context_peer_identity_property_name_type grpc_auth_context_peer_identity_property_name_import; |
|
|
|
|
#define grpc_auth_context_peer_identity_property_name grpc_auth_context_peer_identity_property_name_import |
|
|
|
|
typedef int(*grpc_auth_context_peer_is_authenticated_type)(const grpc_auth_context *ctx); |
|
|
|
|
typedef int(*grpc_auth_context_peer_is_authenticated_type)(const grpc_auth_context* ctx); |
|
|
|
|
extern grpc_auth_context_peer_is_authenticated_type grpc_auth_context_peer_is_authenticated_import; |
|
|
|
|
#define grpc_auth_context_peer_is_authenticated grpc_auth_context_peer_is_authenticated_import |
|
|
|
|
typedef grpc_auth_context *(*grpc_call_auth_context_type)(grpc_call *call); |
|
|
|
|
typedef grpc_auth_context*(*grpc_call_auth_context_type)(grpc_call* call); |
|
|
|
|
extern grpc_call_auth_context_type grpc_call_auth_context_import; |
|
|
|
|
#define grpc_call_auth_context grpc_call_auth_context_import |
|
|
|
|
typedef void(*grpc_auth_context_release_type)(grpc_auth_context *context); |
|
|
|
|
typedef void(*grpc_auth_context_release_type)(grpc_auth_context* context); |
|
|
|
|
extern grpc_auth_context_release_type grpc_auth_context_release_import; |
|
|
|
|
#define grpc_auth_context_release grpc_auth_context_release_import |
|
|
|
|
typedef void(*grpc_auth_context_add_property_type)(grpc_auth_context *ctx, const char *name, const char *value, size_t value_length); |
|
|
|
|
typedef void(*grpc_auth_context_add_property_type)(grpc_auth_context* ctx, const char* name, const char* value, size_t value_length); |
|
|
|
|
extern grpc_auth_context_add_property_type grpc_auth_context_add_property_import; |
|
|
|
|
#define grpc_auth_context_add_property grpc_auth_context_add_property_import |
|
|
|
|
typedef void(*grpc_auth_context_add_cstring_property_type)(grpc_auth_context *ctx, const char *name, const char *value); |
|
|
|
|
typedef void(*grpc_auth_context_add_cstring_property_type)(grpc_auth_context* ctx, const char* name, const char* value); |
|
|
|
|
extern grpc_auth_context_add_cstring_property_type grpc_auth_context_add_cstring_property_import; |
|
|
|
|
#define grpc_auth_context_add_cstring_property grpc_auth_context_add_cstring_property_import |
|
|
|
|
typedef int(*grpc_auth_context_set_peer_identity_property_name_type)(grpc_auth_context *ctx, const char *name); |
|
|
|
|
typedef int(*grpc_auth_context_set_peer_identity_property_name_type)(grpc_auth_context* ctx, const char* name); |
|
|
|
|
extern grpc_auth_context_set_peer_identity_property_name_type grpc_auth_context_set_peer_identity_property_name_import; |
|
|
|
|
#define grpc_auth_context_set_peer_identity_property_name grpc_auth_context_set_peer_identity_property_name_import |
|
|
|
|
typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials *creds); |
|
|
|
|
typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials* creds); |
|
|
|
|
extern grpc_channel_credentials_release_type grpc_channel_credentials_release_import; |
|
|
|
|
#define grpc_channel_credentials_release grpc_channel_credentials_release_import |
|
|
|
|
typedef grpc_channel_credentials *(*grpc_google_default_credentials_create_type)(void); |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_google_default_credentials_create_type)(void); |
|
|
|
|
extern grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import; |
|
|
|
|
#define grpc_google_default_credentials_create grpc_google_default_credentials_create_import |
|
|
|
|
typedef void(*grpc_set_ssl_roots_override_callback_type)(grpc_ssl_roots_override_callback cb); |
|
|
|
|
extern grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import; |
|
|
|
|
#define grpc_set_ssl_roots_override_callback grpc_set_ssl_roots_override_callback_import |
|
|
|
|
typedef grpc_channel_credentials *(*grpc_ssl_credentials_create_type)(const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair, void *reserved); |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_ssl_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pair, void* reserved); |
|
|
|
|
extern grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import; |
|
|
|
|
#define grpc_ssl_credentials_create grpc_ssl_credentials_create_import |
|
|
|
|
typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials *creds); |
|
|
|
|
typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds); |
|
|
|
|
extern grpc_call_credentials_release_type grpc_call_credentials_release_import; |
|
|
|
|
#define grpc_call_credentials_release grpc_call_credentials_release_import |
|
|
|
|
typedef grpc_channel_credentials *(*grpc_composite_channel_credentials_create_type)(grpc_channel_credentials *channel_creds, grpc_call_credentials *call_creds, void *reserved); |
|
|
|
|
typedef grpc_channel_credentials*(*grpc_composite_channel_credentials_create_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, void* reserved); |
|
|
|
|
extern grpc_composite_channel_credentials_create_type grpc_composite_channel_credentials_create_import; |
|
|
|
|
#define grpc_composite_channel_credentials_create grpc_composite_channel_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials *(*grpc_composite_call_credentials_create_type)(grpc_call_credentials *creds1, grpc_call_credentials *creds2, void *reserved); |
|
|
|
|
typedef grpc_call_credentials*(*grpc_composite_call_credentials_create_type)(grpc_call_credentials* creds1, grpc_call_credentials* creds2, void* reserved); |
|
|
|
|
extern grpc_composite_call_credentials_create_type grpc_composite_call_credentials_create_import; |
|
|
|
|
#define grpc_composite_call_credentials_create grpc_composite_call_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials *(*grpc_google_compute_engine_credentials_create_type)(void *reserved); |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_compute_engine_credentials_create_type)(void* reserved); |
|
|
|
|
extern grpc_google_compute_engine_credentials_create_type grpc_google_compute_engine_credentials_create_import; |
|
|
|
|
#define grpc_google_compute_engine_credentials_create grpc_google_compute_engine_credentials_create_import |
|
|
|
|
typedef gpr_timespec(*grpc_max_auth_token_lifetime_type)(); |
|
|
|
|
extern grpc_max_auth_token_lifetime_type grpc_max_auth_token_lifetime_import; |
|
|
|
|
#define grpc_max_auth_token_lifetime grpc_max_auth_token_lifetime_import |
|
|
|
|
typedef grpc_call_credentials *(*grpc_service_account_jwt_access_credentials_create_type)(const char *json_key, gpr_timespec token_lifetime, void *reserved); |
|
|
|
|
typedef grpc_call_credentials*(*grpc_service_account_jwt_access_credentials_create_type)(const char* json_key, gpr_timespec token_lifetime, void* reserved); |
|
|
|
|
extern grpc_service_account_jwt_access_credentials_create_type grpc_service_account_jwt_access_credentials_create_import; |
|
|
|
|
#define grpc_service_account_jwt_access_credentials_create grpc_service_account_jwt_access_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials *(*grpc_google_refresh_token_credentials_create_type)(const char *json_refresh_token, void *reserved); |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_refresh_token_credentials_create_type)(const char* json_refresh_token, void* reserved); |
|
|
|
|
extern grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_credentials_create_import; |
|
|
|
|
#define grpc_google_refresh_token_credentials_create grpc_google_refresh_token_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials *(*grpc_access_token_credentials_create_type)(const char *access_token, void *reserved); |
|
|
|
|
typedef grpc_call_credentials*(*grpc_access_token_credentials_create_type)(const char* access_token, void* reserved); |
|
|
|
|
extern grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import; |
|
|
|
|
#define grpc_access_token_credentials_create grpc_access_token_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials *(*grpc_google_iam_credentials_create_type)(const char *authorization_token, const char *authority_selector, void *reserved); |
|
|
|
|
typedef grpc_call_credentials*(*grpc_google_iam_credentials_create_type)(const char* authorization_token, const char* authority_selector, void* reserved); |
|
|
|
|
extern grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import; |
|
|
|
|
#define grpc_google_iam_credentials_create grpc_google_iam_credentials_create_import |
|
|
|
|
typedef grpc_call_credentials *(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, void *reserved); |
|
|
|
|
typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, void* reserved); |
|
|
|
|
extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import; |
|
|
|
|
#define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import |
|
|
|
|
typedef grpc_channel *(*grpc_secure_channel_create_type)(grpc_channel_credentials *creds, const char *target, const grpc_channel_args *args, void *reserved); |
|
|
|
|
typedef grpc_channel*(*grpc_secure_channel_create_type)(grpc_channel_credentials* creds, const char* target, const grpc_channel_args* args, void* reserved); |
|
|
|
|
extern grpc_secure_channel_create_type grpc_secure_channel_create_import; |
|
|
|
|
#define grpc_secure_channel_create grpc_secure_channel_create_import |
|
|
|
|
typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials *creds); |
|
|
|
|
typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials* creds); |
|
|
|
|
extern grpc_server_credentials_release_type grpc_server_credentials_release_import; |
|
|
|
|
#define grpc_server_credentials_release grpc_server_credentials_release_import |
|
|
|
|
typedef grpc_ssl_server_certificate_config *(*grpc_ssl_server_certificate_config_create_type)(const char *pem_root_certs, const grpc_ssl_pem_key_cert_pair *pem_key_cert_pairs, size_t num_key_cert_pairs); |
|
|
|
|
typedef grpc_ssl_server_certificate_config*(*grpc_ssl_server_certificate_config_create_type)(const char* pem_root_certs, const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs); |
|
|
|
|
extern grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import; |
|
|
|
|
#define grpc_ssl_server_certificate_config_create grpc_ssl_server_certificate_config_create_import |
|
|
|
|
typedef void(*grpc_ssl_server_certificate_config_destroy_type)(grpc_ssl_server_certificate_config *config); |
|
|
|
|
typedef void(*grpc_ssl_server_certificate_config_destroy_type)(grpc_ssl_server_certificate_config* config); |
|
|
|
|
extern grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import; |
|
|
|
|
#define grpc_ssl_server_certificate_config_destroy grpc_ssl_server_certificate_config_destroy_import |
|
|
|
|
typedef grpc_server_credentials *(*grpc_ssl_server_credentials_create_type)(const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pairs, size_t num_key_cert_pairs, int force_client_auth, void *reserved); |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, int force_client_auth, void* reserved); |
|
|
|
|
extern grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create grpc_ssl_server_credentials_create_import |
|
|
|
|
typedef grpc_server_credentials *(*grpc_ssl_server_credentials_create_ex_type)(const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pairs, size_t num_key_cert_pairs, grpc_ssl_client_certificate_request_type client_certificate_request, void *reserved); |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_ex_type)(const char* pem_root_certs, grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs, grpc_ssl_client_certificate_request_type client_certificate_request, void* reserved); |
|
|
|
|
extern grpc_ssl_server_credentials_create_ex_type grpc_ssl_server_credentials_create_ex_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_ex grpc_ssl_server_credentials_create_ex_import |
|
|
|
|
typedef grpc_ssl_server_credentials_options *(*grpc_ssl_server_credentials_create_options_using_config_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config *certificate_config); |
|
|
|
|
typedef grpc_ssl_server_credentials_options*(*grpc_ssl_server_credentials_create_options_using_config_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config* certificate_config); |
|
|
|
|
extern grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_credentials_create_options_using_config_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_options_using_config grpc_ssl_server_credentials_create_options_using_config_import |
|
|
|
|
typedef grpc_ssl_server_credentials_options *(*grpc_ssl_server_credentials_create_options_using_config_fetcher_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config_callback cb, void *user_data); |
|
|
|
|
typedef grpc_ssl_server_credentials_options*(*grpc_ssl_server_credentials_create_options_using_config_fetcher_type)(grpc_ssl_client_certificate_request_type client_certificate_request, grpc_ssl_server_certificate_config_callback cb, void* user_data); |
|
|
|
|
extern grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_options_using_config_fetcher grpc_ssl_server_credentials_create_options_using_config_fetcher_import |
|
|
|
|
typedef void(*grpc_ssl_server_credentials_options_destroy_type)(grpc_ssl_server_credentials_options *options); |
|
|
|
|
typedef void(*grpc_ssl_server_credentials_options_destroy_type)(grpc_ssl_server_credentials_options* options); |
|
|
|
|
extern grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import; |
|
|
|
|
#define grpc_ssl_server_credentials_options_destroy grpc_ssl_server_credentials_options_destroy_import |
|
|
|
|
typedef grpc_server_credentials *(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options *options); |
|
|
|
|
typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options* options); |
|
|
|
|
extern grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import; |
|
|
|
|
#define grpc_ssl_server_credentials_create_with_options grpc_ssl_server_credentials_create_with_options_import |
|
|
|
|
typedef int(*grpc_server_add_secure_http2_port_type)(grpc_server *server, const char *addr, grpc_server_credentials *creds); |
|
|
|
|
typedef int(*grpc_server_add_secure_http2_port_type)(grpc_server* server, const char* addr, grpc_server_credentials* creds); |
|
|
|
|
extern grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import; |
|
|
|
|
#define grpc_server_add_secure_http2_port grpc_server_add_secure_http2_port_import |
|
|
|
|
typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call *call, grpc_call_credentials *creds); |
|
|
|
|
typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* creds); |
|
|
|
|
extern grpc_call_set_credentials_type grpc_call_set_credentials_import; |
|
|
|
|
#define grpc_call_set_credentials grpc_call_set_credentials_import |
|
|
|
|
typedef void(*grpc_server_credentials_set_auth_metadata_processor_type)(grpc_server_credentials *creds, grpc_auth_metadata_processor processor); |
|
|
|
|
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 grpc_byte_buffer *(*grpc_raw_byte_buffer_create_type)(grpc_slice *slices, size_t nslices); |
|
|
|
|
typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_create_type)(grpc_slice* slices, size_t nslices); |
|
|
|
|
extern grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import; |
|
|
|
|
#define grpc_raw_byte_buffer_create grpc_raw_byte_buffer_create_import |
|
|
|
|
typedef grpc_byte_buffer *(*grpc_raw_compressed_byte_buffer_create_type)(grpc_slice *slices, size_t nslices, grpc_compression_algorithm compression); |
|
|
|
|
typedef grpc_byte_buffer*(*grpc_raw_compressed_byte_buffer_create_type)(grpc_slice* slices, size_t nslices, grpc_compression_algorithm compression); |
|
|
|
|
extern grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import; |
|
|
|
|
#define grpc_raw_compressed_byte_buffer_create grpc_raw_compressed_byte_buffer_create_import |
|
|
|
|
typedef grpc_byte_buffer *(*grpc_byte_buffer_copy_type)(grpc_byte_buffer *bb); |
|
|
|
|
typedef grpc_byte_buffer*(*grpc_byte_buffer_copy_type)(grpc_byte_buffer* bb); |
|
|
|
|
extern grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import; |
|
|
|
|
#define grpc_byte_buffer_copy grpc_byte_buffer_copy_import |
|
|
|
|
typedef size_t(*grpc_byte_buffer_length_type)(grpc_byte_buffer *bb); |
|
|
|
|
typedef size_t(*grpc_byte_buffer_length_type)(grpc_byte_buffer* bb); |
|
|
|
|
extern grpc_byte_buffer_length_type grpc_byte_buffer_length_import; |
|
|
|
|
#define grpc_byte_buffer_length grpc_byte_buffer_length_import |
|
|
|
|
typedef void(*grpc_byte_buffer_destroy_type)(grpc_byte_buffer *byte_buffer); |
|
|
|
|
typedef void(*grpc_byte_buffer_destroy_type)(grpc_byte_buffer* byte_buffer); |
|
|
|
|
extern grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import; |
|
|
|
|
#define grpc_byte_buffer_destroy grpc_byte_buffer_destroy_import |
|
|
|
|
typedef int(*grpc_byte_buffer_reader_init_type)(grpc_byte_buffer_reader *reader, grpc_byte_buffer *buffer); |
|
|
|
|
typedef int(*grpc_byte_buffer_reader_init_type)(grpc_byte_buffer_reader* reader, grpc_byte_buffer* buffer); |
|
|
|
|
extern grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import; |
|
|
|
|
#define grpc_byte_buffer_reader_init grpc_byte_buffer_reader_init_import |
|
|
|
|
typedef void(*grpc_byte_buffer_reader_destroy_type)(grpc_byte_buffer_reader *reader); |
|
|
|
|
typedef void(*grpc_byte_buffer_reader_destroy_type)(grpc_byte_buffer_reader* reader); |
|
|
|
|
extern grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import; |
|
|
|
|
#define grpc_byte_buffer_reader_destroy grpc_byte_buffer_reader_destroy_import |
|
|
|
|
typedef int(*grpc_byte_buffer_reader_next_type)(grpc_byte_buffer_reader *reader, grpc_slice *slice); |
|
|
|
|
typedef int(*grpc_byte_buffer_reader_next_type)(grpc_byte_buffer_reader* reader, grpc_slice* slice); |
|
|
|
|
extern grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import; |
|
|
|
|
#define grpc_byte_buffer_reader_next grpc_byte_buffer_reader_next_import |
|
|
|
|
typedef grpc_slice(*grpc_byte_buffer_reader_readall_type)(grpc_byte_buffer_reader *reader); |
|
|
|
|
typedef grpc_slice(*grpc_byte_buffer_reader_readall_type)(grpc_byte_buffer_reader* reader); |
|
|
|
|
extern grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import; |
|
|
|
|
#define grpc_byte_buffer_reader_readall grpc_byte_buffer_reader_readall_import |
|
|
|
|
typedef grpc_byte_buffer *(*grpc_raw_byte_buffer_from_reader_type)(grpc_byte_buffer_reader *reader); |
|
|
|
|
typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_from_reader_type)(grpc_byte_buffer_reader* reader); |
|
|
|
|
extern grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import; |
|
|
|
|
#define grpc_raw_byte_buffer_from_reader grpc_raw_byte_buffer_from_reader_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_ref_type)(grpc_slice s); |
|
|
|
@ -433,13 +433,13 @@ extern grpc_slice_unref_type grpc_slice_unref_import; |
|
|
|
|
typedef grpc_slice(*grpc_slice_copy_type)(grpc_slice s); |
|
|
|
|
extern grpc_slice_copy_type grpc_slice_copy_import; |
|
|
|
|
#define grpc_slice_copy grpc_slice_copy_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_new_type)(void *p, size_t len, void (*destroy)(void *)); |
|
|
|
|
typedef grpc_slice(*grpc_slice_new_type)(void* p, size_t len, void (*destroy)(void*)); |
|
|
|
|
extern grpc_slice_new_type grpc_slice_new_import; |
|
|
|
|
#define grpc_slice_new grpc_slice_new_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_new_with_user_data_type)(void *p, size_t len, void (*destroy)(void *), void *user_data); |
|
|
|
|
typedef grpc_slice(*grpc_slice_new_with_user_data_type)(void* p, size_t len, void (*destroy)(void*), void* user_data); |
|
|
|
|
extern grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import; |
|
|
|
|
#define grpc_slice_new_with_user_data grpc_slice_new_with_user_data_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_new_with_len_type)(void *p, size_t len, void (*destroy)(void *, size_t)); |
|
|
|
|
typedef grpc_slice(*grpc_slice_new_with_len_type)(void* p, size_t len, void (*destroy)(void*, size_t)); |
|
|
|
|
extern grpc_slice_new_with_len_type grpc_slice_new_with_len_import; |
|
|
|
|
#define grpc_slice_new_with_len grpc_slice_new_with_len_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_malloc_type)(size_t length); |
|
|
|
@ -451,16 +451,16 @@ extern grpc_slice_malloc_large_type grpc_slice_malloc_large_import; |
|
|
|
|
typedef grpc_slice(*grpc_slice_intern_type)(grpc_slice slice); |
|
|
|
|
extern grpc_slice_intern_type grpc_slice_intern_import; |
|
|
|
|
#define grpc_slice_intern grpc_slice_intern_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_from_copied_string_type)(const char *source); |
|
|
|
|
typedef grpc_slice(*grpc_slice_from_copied_string_type)(const char* source); |
|
|
|
|
extern grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import; |
|
|
|
|
#define grpc_slice_from_copied_string grpc_slice_from_copied_string_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_from_copied_buffer_type)(const char *source, size_t len); |
|
|
|
|
typedef grpc_slice(*grpc_slice_from_copied_buffer_type)(const char* source, size_t len); |
|
|
|
|
extern grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import; |
|
|
|
|
#define grpc_slice_from_copied_buffer grpc_slice_from_copied_buffer_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_from_static_string_type)(const char *source); |
|
|
|
|
typedef grpc_slice(*grpc_slice_from_static_string_type)(const char* source); |
|
|
|
|
extern grpc_slice_from_static_string_type grpc_slice_from_static_string_import; |
|
|
|
|
#define grpc_slice_from_static_string grpc_slice_from_static_string_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_from_static_buffer_type)(const void *source, size_t len); |
|
|
|
|
typedef grpc_slice(*grpc_slice_from_static_buffer_type)(const void* source, size_t len); |
|
|
|
|
extern grpc_slice_from_static_buffer_type grpc_slice_from_static_buffer_import; |
|
|
|
|
#define grpc_slice_from_static_buffer grpc_slice_from_static_buffer_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_sub_type)(grpc_slice s, size_t begin, size_t end); |
|
|
|
@ -469,13 +469,13 @@ extern grpc_slice_sub_type grpc_slice_sub_import; |
|
|
|
|
typedef grpc_slice(*grpc_slice_sub_no_ref_type)(grpc_slice s, size_t begin, size_t end); |
|
|
|
|
extern grpc_slice_sub_no_ref_type grpc_slice_sub_no_ref_import; |
|
|
|
|
#define grpc_slice_sub_no_ref grpc_slice_sub_no_ref_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_split_tail_type)(grpc_slice *s, size_t split); |
|
|
|
|
typedef grpc_slice(*grpc_slice_split_tail_type)(grpc_slice* s, size_t split); |
|
|
|
|
extern grpc_slice_split_tail_type grpc_slice_split_tail_import; |
|
|
|
|
#define grpc_slice_split_tail grpc_slice_split_tail_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_split_tail_maybe_ref_type)(grpc_slice *s, size_t split, grpc_slice_ref_whom ref_whom); |
|
|
|
|
typedef grpc_slice(*grpc_slice_split_tail_maybe_ref_type)(grpc_slice* s, size_t split, grpc_slice_ref_whom ref_whom); |
|
|
|
|
extern grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import; |
|
|
|
|
#define grpc_slice_split_tail_maybe_ref grpc_slice_split_tail_maybe_ref_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_split_head_type)(grpc_slice *s, size_t split); |
|
|
|
|
typedef grpc_slice(*grpc_slice_split_head_type)(grpc_slice* s, size_t split); |
|
|
|
|
extern grpc_slice_split_head_type grpc_slice_split_head_import; |
|
|
|
|
#define grpc_slice_split_head grpc_slice_split_head_import |
|
|
|
|
typedef grpc_slice(*grpc_empty_slice_type)(void); |
|
|
|
@ -493,13 +493,13 @@ extern grpc_slice_eq_type grpc_slice_eq_import; |
|
|
|
|
typedef int(*grpc_slice_cmp_type)(grpc_slice a, grpc_slice b); |
|
|
|
|
extern grpc_slice_cmp_type grpc_slice_cmp_import; |
|
|
|
|
#define grpc_slice_cmp 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; |
|
|
|
|
#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); |
|
|
|
|
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; |
|
|
|
|
#define grpc_slice_buf_start_eq grpc_slice_buf_start_eq_import |
|
|
|
|
typedef int(*grpc_slice_rchr_type)(grpc_slice s, char c); |
|
|
|
@ -520,73 +520,73 @@ extern grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import; |
|
|
|
|
typedef grpc_slice(*grpc_slice_dup_type)(grpc_slice a); |
|
|
|
|
extern grpc_slice_dup_type grpc_slice_dup_import; |
|
|
|
|
#define grpc_slice_dup grpc_slice_dup_import |
|
|
|
|
typedef char *(*grpc_slice_to_c_string_type)(grpc_slice s); |
|
|
|
|
typedef char*(*grpc_slice_to_c_string_type)(grpc_slice s); |
|
|
|
|
extern grpc_slice_to_c_string_type grpc_slice_to_c_string_import; |
|
|
|
|
#define grpc_slice_to_c_string grpc_slice_to_c_string_import |
|
|
|
|
typedef void(*grpc_slice_buffer_init_type)(grpc_slice_buffer *sb); |
|
|
|
|
typedef void(*grpc_slice_buffer_init_type)(grpc_slice_buffer* sb); |
|
|
|
|
extern grpc_slice_buffer_init_type grpc_slice_buffer_init_import; |
|
|
|
|
#define grpc_slice_buffer_init grpc_slice_buffer_init_import |
|
|
|
|
typedef void(*grpc_slice_buffer_destroy_type)(grpc_slice_buffer *sb); |
|
|
|
|
typedef void(*grpc_slice_buffer_destroy_type)(grpc_slice_buffer* sb); |
|
|
|
|
extern grpc_slice_buffer_destroy_type grpc_slice_buffer_destroy_import; |
|
|
|
|
#define grpc_slice_buffer_destroy grpc_slice_buffer_destroy_import |
|
|
|
|
typedef void(*grpc_slice_buffer_add_type)(grpc_slice_buffer *sb, grpc_slice slice); |
|
|
|
|
typedef void(*grpc_slice_buffer_add_type)(grpc_slice_buffer* sb, grpc_slice slice); |
|
|
|
|
extern grpc_slice_buffer_add_type grpc_slice_buffer_add_import; |
|
|
|
|
#define grpc_slice_buffer_add grpc_slice_buffer_add_import |
|
|
|
|
typedef size_t(*grpc_slice_buffer_add_indexed_type)(grpc_slice_buffer *sb, grpc_slice slice); |
|
|
|
|
typedef size_t(*grpc_slice_buffer_add_indexed_type)(grpc_slice_buffer* sb, grpc_slice slice); |
|
|
|
|
extern grpc_slice_buffer_add_indexed_type grpc_slice_buffer_add_indexed_import; |
|
|
|
|
#define grpc_slice_buffer_add_indexed grpc_slice_buffer_add_indexed_import |
|
|
|
|
typedef void(*grpc_slice_buffer_addn_type)(grpc_slice_buffer *sb, grpc_slice *slices, size_t n); |
|
|
|
|
typedef void(*grpc_slice_buffer_addn_type)(grpc_slice_buffer* sb, grpc_slice* slices, size_t n); |
|
|
|
|
extern grpc_slice_buffer_addn_type grpc_slice_buffer_addn_import; |
|
|
|
|
#define grpc_slice_buffer_addn grpc_slice_buffer_addn_import |
|
|
|
|
typedef uint8_t *(*grpc_slice_buffer_tiny_add_type)(grpc_slice_buffer *sb, size_t len); |
|
|
|
|
typedef uint8_t*(*grpc_slice_buffer_tiny_add_type)(grpc_slice_buffer* sb, size_t len); |
|
|
|
|
extern grpc_slice_buffer_tiny_add_type grpc_slice_buffer_tiny_add_import; |
|
|
|
|
#define grpc_slice_buffer_tiny_add grpc_slice_buffer_tiny_add_import |
|
|
|
|
typedef void(*grpc_slice_buffer_pop_type)(grpc_slice_buffer *sb); |
|
|
|
|
typedef void(*grpc_slice_buffer_pop_type)(grpc_slice_buffer* sb); |
|
|
|
|
extern grpc_slice_buffer_pop_type grpc_slice_buffer_pop_import; |
|
|
|
|
#define grpc_slice_buffer_pop grpc_slice_buffer_pop_import |
|
|
|
|
typedef void(*grpc_slice_buffer_reset_and_unref_type)(grpc_slice_buffer *sb); |
|
|
|
|
typedef void(*grpc_slice_buffer_reset_and_unref_type)(grpc_slice_buffer* sb); |
|
|
|
|
extern grpc_slice_buffer_reset_and_unref_type grpc_slice_buffer_reset_and_unref_import; |
|
|
|
|
#define grpc_slice_buffer_reset_and_unref grpc_slice_buffer_reset_and_unref_import |
|
|
|
|
typedef void(*grpc_slice_buffer_swap_type)(grpc_slice_buffer *a, grpc_slice_buffer *b); |
|
|
|
|
typedef void(*grpc_slice_buffer_swap_type)(grpc_slice_buffer* a, grpc_slice_buffer* b); |
|
|
|
|
extern grpc_slice_buffer_swap_type grpc_slice_buffer_swap_import; |
|
|
|
|
#define grpc_slice_buffer_swap grpc_slice_buffer_swap_import |
|
|
|
|
typedef void(*grpc_slice_buffer_move_into_type)(grpc_slice_buffer *src, grpc_slice_buffer *dst); |
|
|
|
|
typedef void(*grpc_slice_buffer_move_into_type)(grpc_slice_buffer* src, grpc_slice_buffer* dst); |
|
|
|
|
extern grpc_slice_buffer_move_into_type grpc_slice_buffer_move_into_import; |
|
|
|
|
#define grpc_slice_buffer_move_into grpc_slice_buffer_move_into_import |
|
|
|
|
typedef void(*grpc_slice_buffer_trim_end_type)(grpc_slice_buffer *src, size_t n, grpc_slice_buffer *garbage); |
|
|
|
|
typedef void(*grpc_slice_buffer_trim_end_type)(grpc_slice_buffer* src, size_t n, grpc_slice_buffer* garbage); |
|
|
|
|
extern grpc_slice_buffer_trim_end_type grpc_slice_buffer_trim_end_import; |
|
|
|
|
#define grpc_slice_buffer_trim_end grpc_slice_buffer_trim_end_import |
|
|
|
|
typedef void(*grpc_slice_buffer_move_first_type)(grpc_slice_buffer *src, size_t n, grpc_slice_buffer *dst); |
|
|
|
|
typedef void(*grpc_slice_buffer_move_first_type)(grpc_slice_buffer* src, size_t n, grpc_slice_buffer* dst); |
|
|
|
|
extern grpc_slice_buffer_move_first_type grpc_slice_buffer_move_first_import; |
|
|
|
|
#define grpc_slice_buffer_move_first grpc_slice_buffer_move_first_import |
|
|
|
|
typedef void(*grpc_slice_buffer_move_first_no_ref_type)(grpc_slice_buffer *src, size_t n, grpc_slice_buffer *dst); |
|
|
|
|
typedef void(*grpc_slice_buffer_move_first_no_ref_type)(grpc_slice_buffer* src, size_t n, grpc_slice_buffer* dst); |
|
|
|
|
extern grpc_slice_buffer_move_first_no_ref_type grpc_slice_buffer_move_first_no_ref_import; |
|
|
|
|
#define grpc_slice_buffer_move_first_no_ref grpc_slice_buffer_move_first_no_ref_import |
|
|
|
|
typedef void(*grpc_slice_buffer_move_first_into_buffer_type)(grpc_exec_ctx *exec_ctx, grpc_slice_buffer *src, size_t n, void *dst); |
|
|
|
|
typedef void(*grpc_slice_buffer_move_first_into_buffer_type)(grpc_exec_ctx* exec_ctx, grpc_slice_buffer* src, size_t n, void* dst); |
|
|
|
|
extern grpc_slice_buffer_move_first_into_buffer_type grpc_slice_buffer_move_first_into_buffer_import; |
|
|
|
|
#define grpc_slice_buffer_move_first_into_buffer grpc_slice_buffer_move_first_into_buffer_import |
|
|
|
|
typedef grpc_slice(*grpc_slice_buffer_take_first_type)(grpc_slice_buffer *src); |
|
|
|
|
typedef grpc_slice(*grpc_slice_buffer_take_first_type)(grpc_slice_buffer* src); |
|
|
|
|
extern grpc_slice_buffer_take_first_type grpc_slice_buffer_take_first_import; |
|
|
|
|
#define grpc_slice_buffer_take_first grpc_slice_buffer_take_first_import |
|
|
|
|
typedef void(*grpc_slice_buffer_undo_take_first_type)(grpc_slice_buffer *src, grpc_slice slice); |
|
|
|
|
typedef void(*grpc_slice_buffer_undo_take_first_type)(grpc_slice_buffer* src, grpc_slice slice); |
|
|
|
|
extern grpc_slice_buffer_undo_take_first_type grpc_slice_buffer_undo_take_first_import; |
|
|
|
|
#define grpc_slice_buffer_undo_take_first grpc_slice_buffer_undo_take_first_import |
|
|
|
|
typedef void *(*gpr_malloc_type)(size_t size); |
|
|
|
|
typedef void*(*gpr_malloc_type)(size_t size); |
|
|
|
|
extern gpr_malloc_type gpr_malloc_import; |
|
|
|
|
#define gpr_malloc gpr_malloc_import |
|
|
|
|
typedef void *(*gpr_zalloc_type)(size_t size); |
|
|
|
|
typedef void*(*gpr_zalloc_type)(size_t size); |
|
|
|
|
extern gpr_zalloc_type gpr_zalloc_import; |
|
|
|
|
#define gpr_zalloc gpr_zalloc_import |
|
|
|
|
typedef void(*gpr_free_type)(void *ptr); |
|
|
|
|
typedef void(*gpr_free_type)(void* ptr); |
|
|
|
|
extern gpr_free_type gpr_free_import; |
|
|
|
|
#define gpr_free gpr_free_import |
|
|
|
|
typedef void *(*gpr_realloc_type)(void *p, size_t size); |
|
|
|
|
typedef void*(*gpr_realloc_type)(void* p, size_t size); |
|
|
|
|
extern gpr_realloc_type gpr_realloc_import; |
|
|
|
|
#define gpr_realloc gpr_realloc_import |
|
|
|
|
typedef void *(*gpr_malloc_aligned_type)(size_t size, size_t alignment_log); |
|
|
|
|
typedef void*(*gpr_malloc_aligned_type)(size_t size, size_t alignment_log); |
|
|
|
|
extern gpr_malloc_aligned_type gpr_malloc_aligned_import; |
|
|
|
|
#define gpr_malloc_aligned gpr_malloc_aligned_import |
|
|
|
|
typedef void(*gpr_free_aligned_type)(void *ptr); |
|
|
|
|
typedef void(*gpr_free_aligned_type)(void* ptr); |
|
|
|
|
extern gpr_free_aligned_type gpr_free_aligned_import; |
|
|
|
|
#define gpr_free_aligned gpr_free_aligned_import |
|
|
|
|
typedef void(*gpr_set_allocation_functions_type)(gpr_allocation_functions functions); |
|
|
|
@ -595,55 +595,55 @@ extern gpr_set_allocation_functions_type gpr_set_allocation_functions_import; |
|
|
|
|
typedef gpr_allocation_functions(*gpr_get_allocation_functions_type)(); |
|
|
|
|
extern gpr_get_allocation_functions_type gpr_get_allocation_functions_import; |
|
|
|
|
#define gpr_get_allocation_functions gpr_get_allocation_functions_import |
|
|
|
|
typedef gpr_avl(*gpr_avl_create_type)(const gpr_avl_vtable *vtable); |
|
|
|
|
typedef gpr_avl(*gpr_avl_create_type)(const gpr_avl_vtable* vtable); |
|
|
|
|
extern gpr_avl_create_type gpr_avl_create_import; |
|
|
|
|
#define gpr_avl_create gpr_avl_create_import |
|
|
|
|
typedef gpr_avl(*gpr_avl_ref_type)(gpr_avl avl, void *user_data); |
|
|
|
|
typedef gpr_avl(*gpr_avl_ref_type)(gpr_avl avl, void* user_data); |
|
|
|
|
extern gpr_avl_ref_type gpr_avl_ref_import; |
|
|
|
|
#define gpr_avl_ref gpr_avl_ref_import |
|
|
|
|
typedef void(*gpr_avl_unref_type)(gpr_avl avl, void *user_data); |
|
|
|
|
typedef void(*gpr_avl_unref_type)(gpr_avl avl, void* user_data); |
|
|
|
|
extern gpr_avl_unref_type gpr_avl_unref_import; |
|
|
|
|
#define gpr_avl_unref gpr_avl_unref_import |
|
|
|
|
typedef gpr_avl(*gpr_avl_add_type)(gpr_avl avl, void *key, void *value, void *user_data); |
|
|
|
|
typedef gpr_avl(*gpr_avl_add_type)(gpr_avl avl, void* key, void* value, void* user_data); |
|
|
|
|
extern gpr_avl_add_type gpr_avl_add_import; |
|
|
|
|
#define gpr_avl_add gpr_avl_add_import |
|
|
|
|
typedef gpr_avl(*gpr_avl_remove_type)(gpr_avl avl, void *key, void *user_data); |
|
|
|
|
typedef gpr_avl(*gpr_avl_remove_type)(gpr_avl avl, void* key, void* user_data); |
|
|
|
|
extern gpr_avl_remove_type gpr_avl_remove_import; |
|
|
|
|
#define gpr_avl_remove gpr_avl_remove_import |
|
|
|
|
typedef void *(*gpr_avl_get_type)(gpr_avl avl, void *key, void *user_data); |
|
|
|
|
typedef void*(*gpr_avl_get_type)(gpr_avl avl, void* key, void* user_data); |
|
|
|
|
extern gpr_avl_get_type gpr_avl_get_import; |
|
|
|
|
#define gpr_avl_get gpr_avl_get_import |
|
|
|
|
typedef int(*gpr_avl_maybe_get_type)(gpr_avl avl, void *key, void **value, void *user_data); |
|
|
|
|
typedef int(*gpr_avl_maybe_get_type)(gpr_avl avl, void* key, void** value, void* user_data); |
|
|
|
|
extern gpr_avl_maybe_get_type gpr_avl_maybe_get_import; |
|
|
|
|
#define gpr_avl_maybe_get gpr_avl_maybe_get_import |
|
|
|
|
typedef int(*gpr_avl_is_empty_type)(gpr_avl avl); |
|
|
|
|
extern gpr_avl_is_empty_type gpr_avl_is_empty_import; |
|
|
|
|
#define gpr_avl_is_empty gpr_avl_is_empty_import |
|
|
|
|
typedef gpr_cmdline *(*gpr_cmdline_create_type)(const char *description); |
|
|
|
|
typedef gpr_cmdline*(*gpr_cmdline_create_type)(const char* description); |
|
|
|
|
extern gpr_cmdline_create_type gpr_cmdline_create_import; |
|
|
|
|
#define gpr_cmdline_create gpr_cmdline_create_import |
|
|
|
|
typedef void(*gpr_cmdline_add_int_type)(gpr_cmdline *cl, const char *name, const char *help, int *value); |
|
|
|
|
typedef void(*gpr_cmdline_add_int_type)(gpr_cmdline* cl, const char* name, const char* help, int* value); |
|
|
|
|
extern gpr_cmdline_add_int_type gpr_cmdline_add_int_import; |
|
|
|
|
#define gpr_cmdline_add_int gpr_cmdline_add_int_import |
|
|
|
|
typedef void(*gpr_cmdline_add_flag_type)(gpr_cmdline *cl, const char *name, const char *help, int *value); |
|
|
|
|
typedef void(*gpr_cmdline_add_flag_type)(gpr_cmdline* cl, const char* name, const char* help, int* value); |
|
|
|
|
extern gpr_cmdline_add_flag_type gpr_cmdline_add_flag_import; |
|
|
|
|
#define gpr_cmdline_add_flag gpr_cmdline_add_flag_import |
|
|
|
|
typedef void(*gpr_cmdline_add_string_type)(gpr_cmdline *cl, const char *name, const char *help, char **value); |
|
|
|
|
typedef void(*gpr_cmdline_add_string_type)(gpr_cmdline* cl, const char* name, const char* help, char** value); |
|
|
|
|
extern gpr_cmdline_add_string_type gpr_cmdline_add_string_import; |
|
|
|
|
#define gpr_cmdline_add_string gpr_cmdline_add_string_import |
|
|
|
|
typedef void(*gpr_cmdline_on_extra_arg_type)(gpr_cmdline *cl, const char *name, const char *help, void (*on_extra_arg)(void *user_data, const char *arg), void *user_data); |
|
|
|
|
typedef void(*gpr_cmdline_on_extra_arg_type)(gpr_cmdline* cl, const char* name, const char* help, void (*on_extra_arg)(void* user_data, const char* arg), void* user_data); |
|
|
|
|
extern gpr_cmdline_on_extra_arg_type gpr_cmdline_on_extra_arg_import; |
|
|
|
|
#define gpr_cmdline_on_extra_arg gpr_cmdline_on_extra_arg_import |
|
|
|
|
typedef void(*gpr_cmdline_set_survive_failure_type)(gpr_cmdline *cl); |
|
|
|
|
typedef void(*gpr_cmdline_set_survive_failure_type)(gpr_cmdline* cl); |
|
|
|
|
extern gpr_cmdline_set_survive_failure_type gpr_cmdline_set_survive_failure_import; |
|
|
|
|
#define gpr_cmdline_set_survive_failure gpr_cmdline_set_survive_failure_import |
|
|
|
|
typedef int(*gpr_cmdline_parse_type)(gpr_cmdline *cl, int argc, char **argv); |
|
|
|
|
typedef int(*gpr_cmdline_parse_type)(gpr_cmdline* cl, int argc, char** argv); |
|
|
|
|
extern gpr_cmdline_parse_type gpr_cmdline_parse_import; |
|
|
|
|
#define gpr_cmdline_parse gpr_cmdline_parse_import |
|
|
|
|
typedef void(*gpr_cmdline_destroy_type)(gpr_cmdline *cl); |
|
|
|
|
typedef void(*gpr_cmdline_destroy_type)(gpr_cmdline* cl); |
|
|
|
|
extern gpr_cmdline_destroy_type gpr_cmdline_destroy_import; |
|
|
|
|
#define gpr_cmdline_destroy gpr_cmdline_destroy_import |
|
|
|
|
typedef char *(*gpr_cmdline_usage_string_type)(gpr_cmdline *cl, const char *argv0); |
|
|
|
|
typedef char*(*gpr_cmdline_usage_string_type)(gpr_cmdline* cl, const char* argv0); |
|
|
|
|
extern gpr_cmdline_usage_string_type gpr_cmdline_usage_string_import; |
|
|
|
|
#define gpr_cmdline_usage_string gpr_cmdline_usage_string_import |
|
|
|
|
typedef unsigned(*gpr_cpu_num_cores_type)(void); |
|
|
|
@ -652,64 +652,64 @@ extern gpr_cpu_num_cores_type gpr_cpu_num_cores_import; |
|
|
|
|
typedef unsigned(*gpr_cpu_current_cpu_type)(void); |
|
|
|
|
extern gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import; |
|
|
|
|
#define gpr_cpu_current_cpu gpr_cpu_current_cpu_import |
|
|
|
|
typedef gpr_histogram *(*gpr_histogram_create_type)(double resolution, double max_bucket_start); |
|
|
|
|
typedef gpr_histogram*(*gpr_histogram_create_type)(double resolution, double max_bucket_start); |
|
|
|
|
extern gpr_histogram_create_type gpr_histogram_create_import; |
|
|
|
|
#define gpr_histogram_create gpr_histogram_create_import |
|
|
|
|
typedef void(*gpr_histogram_destroy_type)(gpr_histogram *h); |
|
|
|
|
typedef void(*gpr_histogram_destroy_type)(gpr_histogram* h); |
|
|
|
|
extern gpr_histogram_destroy_type gpr_histogram_destroy_import; |
|
|
|
|
#define gpr_histogram_destroy gpr_histogram_destroy_import |
|
|
|
|
typedef void(*gpr_histogram_add_type)(gpr_histogram *h, double x); |
|
|
|
|
typedef void(*gpr_histogram_add_type)(gpr_histogram* h, double x); |
|
|
|
|
extern gpr_histogram_add_type gpr_histogram_add_import; |
|
|
|
|
#define gpr_histogram_add gpr_histogram_add_import |
|
|
|
|
typedef int(*gpr_histogram_merge_type)(gpr_histogram *dst, const gpr_histogram *src); |
|
|
|
|
typedef int(*gpr_histogram_merge_type)(gpr_histogram* dst, const gpr_histogram* src); |
|
|
|
|
extern gpr_histogram_merge_type gpr_histogram_merge_import; |
|
|
|
|
#define gpr_histogram_merge gpr_histogram_merge_import |
|
|
|
|
typedef double(*gpr_histogram_percentile_type)(gpr_histogram *histogram, double percentile); |
|
|
|
|
typedef double(*gpr_histogram_percentile_type)(gpr_histogram* histogram, double percentile); |
|
|
|
|
extern gpr_histogram_percentile_type gpr_histogram_percentile_import; |
|
|
|
|
#define gpr_histogram_percentile gpr_histogram_percentile_import |
|
|
|
|
typedef double(*gpr_histogram_mean_type)(gpr_histogram *histogram); |
|
|
|
|
typedef double(*gpr_histogram_mean_type)(gpr_histogram* histogram); |
|
|
|
|
extern gpr_histogram_mean_type gpr_histogram_mean_import; |
|
|
|
|
#define gpr_histogram_mean gpr_histogram_mean_import |
|
|
|
|
typedef double(*gpr_histogram_stddev_type)(gpr_histogram *histogram); |
|
|
|
|
typedef double(*gpr_histogram_stddev_type)(gpr_histogram* histogram); |
|
|
|
|
extern gpr_histogram_stddev_type gpr_histogram_stddev_import; |
|
|
|
|
#define gpr_histogram_stddev gpr_histogram_stddev_import |
|
|
|
|
typedef double(*gpr_histogram_variance_type)(gpr_histogram *histogram); |
|
|
|
|
typedef double(*gpr_histogram_variance_type)(gpr_histogram* histogram); |
|
|
|
|
extern gpr_histogram_variance_type gpr_histogram_variance_import; |
|
|
|
|
#define gpr_histogram_variance gpr_histogram_variance_import |
|
|
|
|
typedef double(*gpr_histogram_maximum_type)(gpr_histogram *histogram); |
|
|
|
|
typedef double(*gpr_histogram_maximum_type)(gpr_histogram* histogram); |
|
|
|
|
extern gpr_histogram_maximum_type gpr_histogram_maximum_import; |
|
|
|
|
#define gpr_histogram_maximum gpr_histogram_maximum_import |
|
|
|
|
typedef double(*gpr_histogram_minimum_type)(gpr_histogram *histogram); |
|
|
|
|
typedef double(*gpr_histogram_minimum_type)(gpr_histogram* histogram); |
|
|
|
|
extern gpr_histogram_minimum_type gpr_histogram_minimum_import; |
|
|
|
|
#define gpr_histogram_minimum gpr_histogram_minimum_import |
|
|
|
|
typedef double(*gpr_histogram_count_type)(gpr_histogram *histogram); |
|
|
|
|
typedef double(*gpr_histogram_count_type)(gpr_histogram* histogram); |
|
|
|
|
extern gpr_histogram_count_type gpr_histogram_count_import; |
|
|
|
|
#define gpr_histogram_count gpr_histogram_count_import |
|
|
|
|
typedef double(*gpr_histogram_sum_type)(gpr_histogram *histogram); |
|
|
|
|
typedef double(*gpr_histogram_sum_type)(gpr_histogram* histogram); |
|
|
|
|
extern gpr_histogram_sum_type gpr_histogram_sum_import; |
|
|
|
|
#define gpr_histogram_sum gpr_histogram_sum_import |
|
|
|
|
typedef double(*gpr_histogram_sum_of_squares_type)(gpr_histogram *histogram); |
|
|
|
|
typedef double(*gpr_histogram_sum_of_squares_type)(gpr_histogram* histogram); |
|
|
|
|
extern gpr_histogram_sum_of_squares_type gpr_histogram_sum_of_squares_import; |
|
|
|
|
#define gpr_histogram_sum_of_squares gpr_histogram_sum_of_squares_import |
|
|
|
|
typedef const uint32_t *(*gpr_histogram_get_contents_type)(gpr_histogram *histogram, size_t *count); |
|
|
|
|
typedef const uint32_t*(*gpr_histogram_get_contents_type)(gpr_histogram* histogram, size_t* count); |
|
|
|
|
extern gpr_histogram_get_contents_type gpr_histogram_get_contents_import; |
|
|
|
|
#define gpr_histogram_get_contents gpr_histogram_get_contents_import |
|
|
|
|
typedef void(*gpr_histogram_merge_contents_type)(gpr_histogram *histogram, const uint32_t *data, size_t data_count, double min_seen, double max_seen, double sum, double sum_of_squares, double count); |
|
|
|
|
typedef void(*gpr_histogram_merge_contents_type)(gpr_histogram* histogram, const uint32_t* data, size_t data_count, double min_seen, double max_seen, double sum, double sum_of_squares, double count); |
|
|
|
|
extern gpr_histogram_merge_contents_type gpr_histogram_merge_contents_import; |
|
|
|
|
#define gpr_histogram_merge_contents gpr_histogram_merge_contents_import |
|
|
|
|
typedef int(*gpr_join_host_port_type)(char **out, const char *host, int port); |
|
|
|
|
typedef int(*gpr_join_host_port_type)(char** out, const char* host, int port); |
|
|
|
|
extern gpr_join_host_port_type gpr_join_host_port_import; |
|
|
|
|
#define gpr_join_host_port gpr_join_host_port_import |
|
|
|
|
typedef int(*gpr_split_host_port_type)(const char *name, char **host, char **port); |
|
|
|
|
typedef int(*gpr_split_host_port_type)(const char* name, char** host, char** port); |
|
|
|
|
extern gpr_split_host_port_type gpr_split_host_port_import; |
|
|
|
|
#define gpr_split_host_port gpr_split_host_port_import |
|
|
|
|
typedef const char *(*gpr_log_severity_string_type)(gpr_log_severity severity); |
|
|
|
|
typedef const char*(*gpr_log_severity_string_type)(gpr_log_severity severity); |
|
|
|
|
extern gpr_log_severity_string_type gpr_log_severity_string_import; |
|
|
|
|
#define gpr_log_severity_string gpr_log_severity_string_import |
|
|
|
|
typedef void(*gpr_log_type)(const char *file, int line, gpr_log_severity severity, const char *format, ...) GPR_PRINT_FORMAT_CHECK(4, 5); |
|
|
|
|
typedef void(*gpr_log_type)(const char* file, int line, gpr_log_severity severity, const char* format, ...) GPR_PRINT_FORMAT_CHECK(4, 5); |
|
|
|
|
extern gpr_log_type gpr_log_import; |
|
|
|
|
#define gpr_log gpr_log_import |
|
|
|
|
typedef void(*gpr_log_message_type)(const char *file, int line, gpr_log_severity severity, const char *message); |
|
|
|
|
typedef void(*gpr_log_message_type)(const char* file, int line, gpr_log_severity severity, const char* message); |
|
|
|
|
extern gpr_log_message_type gpr_log_message_import; |
|
|
|
|
#define gpr_log_message gpr_log_message_import |
|
|
|
|
typedef void(*gpr_set_log_verbosity_type)(gpr_log_severity min_severity_to_print); |
|
|
|
@ -721,118 +721,118 @@ extern gpr_log_verbosity_init_type gpr_log_verbosity_init_import; |
|
|
|
|
typedef void(*gpr_set_log_function_type)(gpr_log_func func); |
|
|
|
|
extern gpr_set_log_function_type gpr_set_log_function_import; |
|
|
|
|
#define gpr_set_log_function gpr_set_log_function_import |
|
|
|
|
typedef char *(*gpr_format_message_type)(int messageid); |
|
|
|
|
typedef char*(*gpr_format_message_type)(int messageid); |
|
|
|
|
extern gpr_format_message_type gpr_format_message_import; |
|
|
|
|
#define gpr_format_message gpr_format_message_import |
|
|
|
|
typedef char *(*gpr_strdup_type)(const char *src); |
|
|
|
|
typedef char*(*gpr_strdup_type)(const char* src); |
|
|
|
|
extern gpr_strdup_type gpr_strdup_import; |
|
|
|
|
#define gpr_strdup gpr_strdup_import |
|
|
|
|
typedef int(*gpr_asprintf_type)(char **strp, const char *format, ...) GPR_PRINT_FORMAT_CHECK(2, 3); |
|
|
|
|
typedef int(*gpr_asprintf_type)(char** strp, const char* format, ...) GPR_PRINT_FORMAT_CHECK(2, 3); |
|
|
|
|
extern gpr_asprintf_type gpr_asprintf_import; |
|
|
|
|
#define gpr_asprintf gpr_asprintf_import |
|
|
|
|
typedef const char *(*gpr_subprocess_binary_extension_type)(); |
|
|
|
|
typedef const char*(*gpr_subprocess_binary_extension_type)(); |
|
|
|
|
extern gpr_subprocess_binary_extension_type gpr_subprocess_binary_extension_import; |
|
|
|
|
#define gpr_subprocess_binary_extension gpr_subprocess_binary_extension_import |
|
|
|
|
typedef gpr_subprocess *(*gpr_subprocess_create_type)(int argc, const char **argv); |
|
|
|
|
typedef gpr_subprocess*(*gpr_subprocess_create_type)(int argc, const char** argv); |
|
|
|
|
extern gpr_subprocess_create_type gpr_subprocess_create_import; |
|
|
|
|
#define gpr_subprocess_create gpr_subprocess_create_import |
|
|
|
|
typedef void(*gpr_subprocess_destroy_type)(gpr_subprocess *p); |
|
|
|
|
typedef void(*gpr_subprocess_destroy_type)(gpr_subprocess* p); |
|
|
|
|
extern gpr_subprocess_destroy_type gpr_subprocess_destroy_import; |
|
|
|
|
#define gpr_subprocess_destroy gpr_subprocess_destroy_import |
|
|
|
|
typedef int(*gpr_subprocess_join_type)(gpr_subprocess *p); |
|
|
|
|
typedef int(*gpr_subprocess_join_type)(gpr_subprocess* p); |
|
|
|
|
extern gpr_subprocess_join_type gpr_subprocess_join_import; |
|
|
|
|
#define gpr_subprocess_join gpr_subprocess_join_import |
|
|
|
|
typedef void(*gpr_subprocess_interrupt_type)(gpr_subprocess *p); |
|
|
|
|
typedef void(*gpr_subprocess_interrupt_type)(gpr_subprocess* p); |
|
|
|
|
extern gpr_subprocess_interrupt_type gpr_subprocess_interrupt_import; |
|
|
|
|
#define gpr_subprocess_interrupt gpr_subprocess_interrupt_import |
|
|
|
|
typedef void(*gpr_mu_init_type)(gpr_mu *mu); |
|
|
|
|
typedef void(*gpr_mu_init_type)(gpr_mu* mu); |
|
|
|
|
extern gpr_mu_init_type gpr_mu_init_import; |
|
|
|
|
#define gpr_mu_init gpr_mu_init_import |
|
|
|
|
typedef void(*gpr_mu_destroy_type)(gpr_mu *mu); |
|
|
|
|
typedef void(*gpr_mu_destroy_type)(gpr_mu* mu); |
|
|
|
|
extern gpr_mu_destroy_type gpr_mu_destroy_import; |
|
|
|
|
#define gpr_mu_destroy gpr_mu_destroy_import |
|
|
|
|
typedef void(*gpr_mu_lock_type)(gpr_mu *mu); |
|
|
|
|
typedef void(*gpr_mu_lock_type)(gpr_mu* mu); |
|
|
|
|
extern gpr_mu_lock_type gpr_mu_lock_import; |
|
|
|
|
#define gpr_mu_lock gpr_mu_lock_import |
|
|
|
|
typedef void(*gpr_mu_unlock_type)(gpr_mu *mu); |
|
|
|
|
typedef void(*gpr_mu_unlock_type)(gpr_mu* mu); |
|
|
|
|
extern gpr_mu_unlock_type gpr_mu_unlock_import; |
|
|
|
|
#define gpr_mu_unlock gpr_mu_unlock_import |
|
|
|
|
typedef int(*gpr_mu_trylock_type)(gpr_mu *mu); |
|
|
|
|
typedef int(*gpr_mu_trylock_type)(gpr_mu* mu); |
|
|
|
|
extern gpr_mu_trylock_type gpr_mu_trylock_import; |
|
|
|
|
#define gpr_mu_trylock gpr_mu_trylock_import |
|
|
|
|
typedef void(*gpr_cv_init_type)(gpr_cv *cv); |
|
|
|
|
typedef void(*gpr_cv_init_type)(gpr_cv* cv); |
|
|
|
|
extern gpr_cv_init_type gpr_cv_init_import; |
|
|
|
|
#define gpr_cv_init gpr_cv_init_import |
|
|
|
|
typedef void(*gpr_cv_destroy_type)(gpr_cv *cv); |
|
|
|
|
typedef void(*gpr_cv_destroy_type)(gpr_cv* cv); |
|
|
|
|
extern gpr_cv_destroy_type gpr_cv_destroy_import; |
|
|
|
|
#define gpr_cv_destroy gpr_cv_destroy_import |
|
|
|
|
typedef int(*gpr_cv_wait_type)(gpr_cv *cv, gpr_mu *mu, gpr_timespec abs_deadline); |
|
|
|
|
typedef int(*gpr_cv_wait_type)(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline); |
|
|
|
|
extern gpr_cv_wait_type gpr_cv_wait_import; |
|
|
|
|
#define gpr_cv_wait gpr_cv_wait_import |
|
|
|
|
typedef void(*gpr_cv_signal_type)(gpr_cv *cv); |
|
|
|
|
typedef void(*gpr_cv_signal_type)(gpr_cv* cv); |
|
|
|
|
extern gpr_cv_signal_type gpr_cv_signal_import; |
|
|
|
|
#define gpr_cv_signal gpr_cv_signal_import |
|
|
|
|
typedef void(*gpr_cv_broadcast_type)(gpr_cv *cv); |
|
|
|
|
typedef void(*gpr_cv_broadcast_type)(gpr_cv* cv); |
|
|
|
|
extern gpr_cv_broadcast_type gpr_cv_broadcast_import; |
|
|
|
|
#define gpr_cv_broadcast gpr_cv_broadcast_import |
|
|
|
|
typedef void(*gpr_once_init_type)(gpr_once *once, void (*init_routine)(void)); |
|
|
|
|
typedef void(*gpr_once_init_type)(gpr_once* once, void (*init_routine)(void)); |
|
|
|
|
extern gpr_once_init_type gpr_once_init_import; |
|
|
|
|
#define gpr_once_init gpr_once_init_import |
|
|
|
|
typedef void(*gpr_event_init_type)(gpr_event *ev); |
|
|
|
|
typedef void(*gpr_event_init_type)(gpr_event* ev); |
|
|
|
|
extern gpr_event_init_type gpr_event_init_import; |
|
|
|
|
#define gpr_event_init gpr_event_init_import |
|
|
|
|
typedef void(*gpr_event_set_type)(gpr_event *ev, void *value); |
|
|
|
|
typedef void(*gpr_event_set_type)(gpr_event* ev, void* value); |
|
|
|
|
extern gpr_event_set_type gpr_event_set_import; |
|
|
|
|
#define gpr_event_set gpr_event_set_import |
|
|
|
|
typedef void *(*gpr_event_get_type)(gpr_event *ev); |
|
|
|
|
typedef void*(*gpr_event_get_type)(gpr_event* ev); |
|
|
|
|
extern gpr_event_get_type gpr_event_get_import; |
|
|
|
|
#define gpr_event_get gpr_event_get_import |
|
|
|
|
typedef void *(*gpr_event_wait_type)(gpr_event *ev, gpr_timespec abs_deadline); |
|
|
|
|
typedef void*(*gpr_event_wait_type)(gpr_event* ev, gpr_timespec abs_deadline); |
|
|
|
|
extern gpr_event_wait_type gpr_event_wait_import; |
|
|
|
|
#define gpr_event_wait gpr_event_wait_import |
|
|
|
|
typedef void(*gpr_ref_init_type)(gpr_refcount *r, int n); |
|
|
|
|
typedef void(*gpr_ref_init_type)(gpr_refcount* r, int n); |
|
|
|
|
extern gpr_ref_init_type gpr_ref_init_import; |
|
|
|
|
#define gpr_ref_init gpr_ref_init_import |
|
|
|
|
typedef void(*gpr_ref_type)(gpr_refcount *r); |
|
|
|
|
typedef void(*gpr_ref_type)(gpr_refcount* r); |
|
|
|
|
extern gpr_ref_type gpr_ref_import; |
|
|
|
|
#define gpr_ref gpr_ref_import |
|
|
|
|
typedef void(*gpr_ref_non_zero_type)(gpr_refcount *r); |
|
|
|
|
typedef void(*gpr_ref_non_zero_type)(gpr_refcount* r); |
|
|
|
|
extern gpr_ref_non_zero_type gpr_ref_non_zero_import; |
|
|
|
|
#define gpr_ref_non_zero gpr_ref_non_zero_import |
|
|
|
|
typedef void(*gpr_refn_type)(gpr_refcount *r, int n); |
|
|
|
|
typedef void(*gpr_refn_type)(gpr_refcount* r, int n); |
|
|
|
|
extern gpr_refn_type gpr_refn_import; |
|
|
|
|
#define gpr_refn gpr_refn_import |
|
|
|
|
typedef int(*gpr_unref_type)(gpr_refcount *r); |
|
|
|
|
typedef int(*gpr_unref_type)(gpr_refcount* r); |
|
|
|
|
extern gpr_unref_type gpr_unref_import; |
|
|
|
|
#define gpr_unref gpr_unref_import |
|
|
|
|
typedef int(*gpr_ref_is_unique_type)(gpr_refcount *r); |
|
|
|
|
typedef int(*gpr_ref_is_unique_type)(gpr_refcount* r); |
|
|
|
|
extern gpr_ref_is_unique_type gpr_ref_is_unique_import; |
|
|
|
|
#define gpr_ref_is_unique gpr_ref_is_unique_import |
|
|
|
|
typedef void(*gpr_stats_init_type)(gpr_stats_counter *c, intptr_t n); |
|
|
|
|
typedef void(*gpr_stats_init_type)(gpr_stats_counter* c, intptr_t n); |
|
|
|
|
extern gpr_stats_init_type gpr_stats_init_import; |
|
|
|
|
#define gpr_stats_init gpr_stats_init_import |
|
|
|
|
typedef void(*gpr_stats_inc_type)(gpr_stats_counter *c, intptr_t inc); |
|
|
|
|
typedef void(*gpr_stats_inc_type)(gpr_stats_counter* c, intptr_t inc); |
|
|
|
|
extern gpr_stats_inc_type gpr_stats_inc_import; |
|
|
|
|
#define gpr_stats_inc gpr_stats_inc_import |
|
|
|
|
typedef intptr_t(*gpr_stats_read_type)(const gpr_stats_counter *c); |
|
|
|
|
typedef intptr_t(*gpr_stats_read_type)(const gpr_stats_counter* c); |
|
|
|
|
extern gpr_stats_read_type gpr_stats_read_import; |
|
|
|
|
#define gpr_stats_read gpr_stats_read_import |
|
|
|
|
typedef int(*gpr_thd_new_type)(gpr_thd_id *t, void (*thd_body)(void *arg), void *arg, const gpr_thd_options *options); |
|
|
|
|
typedef int(*gpr_thd_new_type)(gpr_thd_id* t, void (*thd_body)(void* arg), void* arg, const gpr_thd_options* options); |
|
|
|
|
extern gpr_thd_new_type gpr_thd_new_import; |
|
|
|
|
#define gpr_thd_new gpr_thd_new_import |
|
|
|
|
typedef gpr_thd_options(*gpr_thd_options_default_type)(void); |
|
|
|
|
extern gpr_thd_options_default_type gpr_thd_options_default_import; |
|
|
|
|
#define gpr_thd_options_default gpr_thd_options_default_import |
|
|
|
|
typedef void(*gpr_thd_options_set_detached_type)(gpr_thd_options *options); |
|
|
|
|
typedef void(*gpr_thd_options_set_detached_type)(gpr_thd_options* options); |
|
|
|
|
extern gpr_thd_options_set_detached_type gpr_thd_options_set_detached_import; |
|
|
|
|
#define gpr_thd_options_set_detached gpr_thd_options_set_detached_import |
|
|
|
|
typedef void(*gpr_thd_options_set_joinable_type)(gpr_thd_options *options); |
|
|
|
|
typedef void(*gpr_thd_options_set_joinable_type)(gpr_thd_options* options); |
|
|
|
|
extern gpr_thd_options_set_joinable_type gpr_thd_options_set_joinable_import; |
|
|
|
|
#define gpr_thd_options_set_joinable gpr_thd_options_set_joinable_import |
|
|
|
|
typedef int(*gpr_thd_options_is_detached_type)(const gpr_thd_options *options); |
|
|
|
|
typedef int(*gpr_thd_options_is_detached_type)(const gpr_thd_options* options); |
|
|
|
|
extern gpr_thd_options_is_detached_type gpr_thd_options_is_detached_import; |
|
|
|
|
#define gpr_thd_options_is_detached gpr_thd_options_is_detached_import |
|
|
|
|
typedef int(*gpr_thd_options_is_joinable_type)(const gpr_thd_options *options); |
|
|
|
|
typedef int(*gpr_thd_options_is_joinable_type)(const gpr_thd_options* options); |
|
|
|
|
extern gpr_thd_options_is_joinable_type gpr_thd_options_is_joinable_import; |
|
|
|
|
#define gpr_thd_options_is_joinable gpr_thd_options_is_joinable_import |
|
|
|
|
typedef gpr_thd_id(*gpr_thd_currentid_type)(void); |
|
|
|
|