36 #ifndef GRPC_INTERNAL_CORE_CENSUS_AGGREGATION_H
37 #define GRPC_INTERNAL_CORE_CENSUS_AGGREGATION_H
43 void *(*create)(
const void *create_arg);
45 void *(*clone)(
const void *aggregation);
47 void (*
free)(
void *aggregation);
53 void *(*data)(
const void *aggregation);
57 void (*
reset)(
void *aggregation);
59 void (*
merge)(
void *to,
const void *from);
63 size_t (*
print)(
const void *aggregation,
char *buffer,
size_t n);
const char * value
Definition: hpack_table.c:44
Structure used to describe an aggregation type.
Definition: aggregation.h:40
void *(* data)(const void *aggregation)
Definition: aggregation.h:53
void(* free)(void *aggregation)
Definition: aggregation.h:47
void(* record)(void *aggregation, double value)
Definition: aggregation.h:49
void(* reset)(void *aggregation)
Definition: aggregation.h:57
void(* merge)(void *to, const void *from)
Definition: aggregation.h:59
size_t(* print)(const void *aggregation, char *buffer, size_t n)
Definition: aggregation.h:63
void(* free_data)(void *data)
Definition: aggregation.h:55