GRPC Core  0.11.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Functions
transport.c File Reference
#include "src/core/transport/transport.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/transport/transport_impl.h"

Data Structures

struct  close_message_data
 

Functions

size_t grpc_transport_stream_size (grpc_transport *transport)
 
void grpc_transport_destroy (grpc_transport *transport)
 
int grpc_transport_init_stream (grpc_transport *transport, grpc_stream *stream, const void *server_data, grpc_transport_stream_op *initial_op)
 
void grpc_transport_perform_stream_op (grpc_transport *transport, grpc_stream *stream, grpc_transport_stream_op *op)
 
void grpc_transport_perform_op (grpc_transport *transport, grpc_transport_op *op)
 
void grpc_transport_destroy_stream (grpc_transport *transport, grpc_stream *stream)
 
char * grpc_transport_get_peer (grpc_transport *transport)
 
void grpc_transport_stream_op_finish_with_failure (grpc_transport_stream_op *op)
 
void grpc_transport_stream_op_add_cancellation (grpc_transport_stream_op *op, grpc_status_code status)
 
void grpc_transport_stream_op_add_close (grpc_transport_stream_op *op, grpc_status_code status, gpr_slice *optional_message)
 

Function Documentation

void grpc_transport_destroy ( grpc_transport transport)
void grpc_transport_destroy_stream ( grpc_transport transport,
grpc_stream stream 
)
char* grpc_transport_get_peer ( grpc_transport transport)
int grpc_transport_init_stream ( grpc_transport transport,
grpc_stream stream,
const void *  server_data,
grpc_transport_stream_op initial_op 
)
void grpc_transport_perform_op ( grpc_transport transport,
grpc_transport_op op 
)
void grpc_transport_perform_stream_op ( grpc_transport transport,
grpc_stream stream,
grpc_transport_stream_op op 
)
void grpc_transport_stream_op_add_cancellation ( grpc_transport_stream_op op,
grpc_status_code  status 
)
void grpc_transport_stream_op_add_close ( grpc_transport_stream_op op,
grpc_status_code  status,
gpr_slice optional_message 
)
void grpc_transport_stream_op_finish_with_failure ( grpc_transport_stream_op op)
size_t grpc_transport_stream_size ( grpc_transport transport)