|
GRPC Core
3.0.0-dev
|
#include <stddef.h>#include <stdint.h>#include <grpc/impl/codegen/exec_ctx_fwd.h>#include <grpc/impl/codegen/gpr_slice.h>Go to the source code of this file.
Data Structures | |
| struct | grpc_slice_refcount_vtable |
| struct | grpc_slice_refcount |
| struct | grpc_slice |
| struct | grpc_slice_buffer |
Macros | |
| #define | GRPC_SLICE_INLINED_SIZE (sizeof(size_t) + sizeof(uint8_t *) - 1) |
| #define | GRPC_SLICE_BUFFER_INLINE_ELEMENTS 8 |
| #define | GRPC_SLICE_START_PTR(slice) |
| #define | GRPC_SLICE_LENGTH(slice) |
| #define | GRPC_SLICE_SET_LENGTH(slice, newlen) |
| #define | GRPC_SLICE_END_PTR(slice) GRPC_SLICE_START_PTR(slice) + GRPC_SLICE_LENGTH(slice) |
| #define | GRPC_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0) |
Typedefs | |
| typedef struct grpc_slice | grpc_slice |
| typedef struct grpc_slice_refcount_vtable | grpc_slice_refcount_vtable |
| typedef struct grpc_slice_refcount | grpc_slice_refcount |
| #define GRPC_SLICE_BUFFER_INLINE_ELEMENTS 8 |
| #define GRPC_SLICE_END_PTR | ( | slice | ) | GRPC_SLICE_START_PTR(slice) + GRPC_SLICE_LENGTH(slice) |
| #define GRPC_SLICE_INLINED_SIZE (sizeof(size_t) + sizeof(uint8_t *) - 1) |
| #define GRPC_SLICE_IS_EMPTY | ( | slice | ) | (GRPC_SLICE_LENGTH(slice) == 0) |
| #define GRPC_SLICE_LENGTH | ( | slice | ) |
| #define GRPC_SLICE_SET_LENGTH | ( | slice, | |
| newlen | |||
| ) |
| #define GRPC_SLICE_START_PTR | ( | slice | ) |
| typedef struct grpc_slice grpc_slice |
| typedef struct grpc_slice_refcount grpc_slice_refcount |
| typedef struct grpc_slice_refcount_vtable grpc_slice_refcount_vtable |
1.8.6