Type Definition grpcio_sys::grpc_ssl_roots_override_callback [−][src]
type grpc_ssl_roots_override_callback = Option<unsafe extern "C" fn(pem_root_certs: *mut *mut c_char) -> grpc_ssl_roots_override_result>;
Callback for getting the SSL roots override from the application. In case of success, *pem_roots_certs must be set to a NULL terminated string containing the list of PEM encoded root certificates. The ownership is passed to the core and freed (laster by the core) with gpr_free. If this function fails and GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment is set to a valid path, it will override the roots specified this func