GRPC Core  9.0.0
Data Structures | Macros | Typedefs | Functions
workaround_utils.h File Reference
#include <grpc/support/port_platform.h>
#include <grpc/support/workaround_list.h>
#include "src/core/lib/transport/metadata.h"

Go to the source code of this file.

Data Structures

struct  grpc_workaround_user_agent_md
 

Macros

#define GRPC_WORKAROUND_PRIORITY_HIGH   10001
 
#define GRPC_WORKAROUND_PROIRITY_LOW   9999
 

Typedefs

typedef struct grpc_workaround_user_agent_md grpc_workaround_user_agent_md
 
typedef bool(* user_agent_parser) (grpc_mdelem)
 

Functions

grpc_workaround_user_agent_mdgrpc_parse_user_agent (grpc_mdelem md)
 
void grpc_register_workaround (uint32_t id, user_agent_parser parser)
 

Macro Definition Documentation

◆ GRPC_WORKAROUND_PRIORITY_HIGH

#define GRPC_WORKAROUND_PRIORITY_HIGH   10001

◆ GRPC_WORKAROUND_PROIRITY_LOW

#define GRPC_WORKAROUND_PROIRITY_LOW   9999

Typedef Documentation

◆ grpc_workaround_user_agent_md

◆ user_agent_parser

typedef bool(* user_agent_parser) (grpc_mdelem)

Function Documentation

◆ grpc_parse_user_agent()

grpc_workaround_user_agent_md* grpc_parse_user_agent ( grpc_mdelem  md)

◆ grpc_register_workaround()

void grpc_register_workaround ( uint32_t  id,
user_agent_parser  parser 
)