blob: 51c05da640f3341ed93f1c047a3538c7bd2fd031 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <string.h>
void grpc_call_details_init(grpc_call_details *cd) {
memset(cd, 0, sizeof(*cd));
}
void grpc_call_details_destroy(grpc_call_details *cd) {
gpr_free(cd->method);
gpr_free(cd->host);
}
|