Lines Matching refs:cbs
432 nghttp2_session_callbacks *cbs) in h2_client_new() argument
450 rc = nghttp2_session_client_new3(&ctx->h2, cbs, cf, o, &mem); in h2_client_new()
514 nghttp2_session_callbacks *cbs = NULL; in cf_h2_ctx_open() local
519 rc = nghttp2_session_callbacks_new(&cbs); in cf_h2_ctx_open()
525 nghttp2_session_callbacks_set_send_callback(cbs, send_callback); in cf_h2_ctx_open()
526 nghttp2_session_callbacks_set_on_frame_recv_callback(cbs, on_frame_recv); in cf_h2_ctx_open()
528 nghttp2_session_callbacks_set_on_frame_send_callback(cbs, on_frame_send); in cf_h2_ctx_open()
531 cbs, on_data_chunk_recv); in cf_h2_ctx_open()
532 nghttp2_session_callbacks_set_on_stream_close_callback(cbs, on_stream_close); in cf_h2_ctx_open()
534 cbs, on_begin_headers); in cf_h2_ctx_open()
535 nghttp2_session_callbacks_set_on_header_callback(cbs, on_header); in cf_h2_ctx_open()
537 nghttp2_session_callbacks_set_error_callback(cbs, error_callback); in cf_h2_ctx_open()
541 rc = h2_client_new(cf, cbs); in cf_h2_ctx_open()
617 if(cbs) in cf_h2_ctx_open()
618 nghttp2_session_callbacks_del(cbs); in cf_h2_ctx_open()