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

Data Structures

struct  call_data
 
struct  channel_data
 

Macros

#define CHANNEL_STACK_FROM_CHANNEL(c)   ((grpc_channel_stack *)((c) + 1))
 

Functions

grpc_channelgrpc_lame_client_channel_create (const char *target, grpc_status_code error_code, const char *error_message)
 Create a lame client: this client fails every operation attempted on it. More...
 

Macro Definition Documentation

#define CHANNEL_STACK_FROM_CHANNEL (   c)    ((grpc_channel_stack *)((c) + 1))

Function Documentation

grpc_channel* grpc_lame_client_channel_create ( const char *  target,
grpc_status_code  error_code,
const char *  error_message 
)

Create a lame client: this client fails every operation attempted on it.