Functions
args_utils.cc File Reference
#include "test/core/compression/args_utils.h"
#include <string.h>
#include <grpc/compression.h>
#include <grpc/support/log.h>
#include "src/core/lib/compression/compression_internal.h"
#include "src/core/lib/gpr/useful.h"
Include dependency graph for args_utils.cc:

Go to the source code of this file.

Functions

static int find_compression_algorithm_states_bitset (const grpc_channel_args *a, int **states_arg)
 
const grpc_channel_argsgrpc_channel_args_compression_algorithm_set_state (const grpc_channel_args **a, grpc_compression_algorithm algorithm, int state)
 
const grpc_channel_argsgrpc_channel_args_set_channel_default_compression_algorithm (const grpc_channel_args *a, grpc_compression_algorithm algorithm)
 

Function Documentation

◆ find_compression_algorithm_states_bitset()

static int find_compression_algorithm_states_bitset ( const grpc_channel_args a,
int **  states_arg 
)
static

Returns 1 if the argument for compression algorithm's enabled states bitset was found in a, returning the arg's value in states. Otherwise, returns 0.

Definition at line 39 of file args_utils.cc.

◆ grpc_channel_args_compression_algorithm_set_state()

const grpc_channel_args* grpc_channel_args_compression_algorithm_set_state ( const grpc_channel_args **  a,
grpc_compression_algorithm  algorithm,
int  state 
)

Definition at line 58 of file args_utils.cc.

◆ grpc_channel_args_set_channel_default_compression_algorithm()

const grpc_channel_args * grpc_channel_args_set_channel_default_compression_algorithm ( const grpc_channel_args a,
grpc_compression_algorithm  algorithm 
)

Definition at line 26 of file args_utils.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:03