aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/grpc_security.h
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-08-28 14:10:58 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2015-08-28 14:10:58 -0700
commit0c711ad88b632bea173bdea9ea24372052aa231d (patch)
tree4faa57ef8bb4109f5303b3b175eb92cc9aa884d3 /include/grpc/grpc_security.h
parent084b2f3d7f8d74268657ece8fac8d1055e00b7fc (diff)
Adding C++ metadata processor.
- Had to chnage the core API to add a destroy function pointer in grpc_auth_metadata_processor. - Tested end to end. - Fixed some issues in the server_auth_filter (we were not checking the length which put us at risk of an overflow).
Diffstat (limited to 'include/grpc/grpc_security.h')
-rw-r--r--include/grpc/grpc_security.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/grpc/grpc_security.h b/include/grpc/grpc_security.h
index e2205eea30..0b540c0e66 100644
--- a/include/grpc/grpc_security.h
+++ b/include/grpc/grpc_security.h
@@ -293,6 +293,7 @@ typedef struct {
void (*process)(void *state, grpc_auth_context *context,
const grpc_metadata *md, size_t num_md,
grpc_process_auth_metadata_done_cb cb, void *user_data);
+ void (*destroy)(void *state);
void *state;
} grpc_auth_metadata_processor;