From c7388e5d82124bc4c9c83532a710d8b3e1c2c640 Mon Sep 17 00:00:00 2001 From: "Mark D. Roth" Date: Fri, 8 Sep 2017 08:01:21 -0700 Subject: [PATCH] Fix node build. --- src/node/ext/call_credentials.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/node/ext/call_credentials.h b/src/node/ext/call_credentials.h index adcff84573d..c5508e2ba25 100644 --- a/src/node/ext/call_credentials.h +++ b/src/node/ext/call_credentials.h @@ -75,9 +75,12 @@ typedef struct plugin_state { uv_async_t plugin_async; } plugin_state; -void plugin_get_metadata(void *state, grpc_auth_metadata_context context, - grpc_credentials_plugin_metadata_cb cb, - void *user_data); +int plugin_get_metadata( + void *state, grpc_auth_metadata_context context, + grpc_credentials_plugin_metadata_cb cb, void *user_data, + grpc_metadata creds_md[GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX], + size_t *num_creds_md, grpc_status_code *status, + const char **error_details); void plugin_destroy_state(void *state);