Juniper / grpc-c

C implementation of gRPC layered on top of core library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grpc_c_init return failure?

zwumdd opened this issue · comments

Hi Ajay,

Can grpc_c_init() ever fail? If so can the function be changed to return a success/failure status code? Thanks.

We assert if we cannot initialize grpc_c hence the reason for void return. https://github.com/Juniper/grpc-c/blob/master/lib/hooks.c#L167