#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"
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_args * | grpc_channel_args_compression_algorithm_set_state (const grpc_channel_args **a, grpc_compression_algorithm algorithm, int state) |
const grpc_channel_args * | grpc_channel_args_set_channel_default_compression_algorithm (const grpc_channel_args *a, grpc_compression_algorithm algorithm) |
|
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.
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.
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.