src/http/v3/ngx_http_v3_uni.h - nginx source code

Macros defined

Source code


  1. /*
  2. * Copyright (C) Roman Arutyunyan
  3. * Copyright (C) Nginx, Inc.
  4. */


  5. #ifndef _NGX_HTTP_V3_UNI_H_INCLUDED_
  6. #define _NGX_HTTP_V3_UNI_H_INCLUDED_


  7. #include <ngx_config.h>
  8. #include <ngx_core.h>
  9. #include <ngx_http.h>


  10. void ngx_http_v3_init_uni_stream(ngx_connection_t *c);
  11. ngx_int_t ngx_http_v3_register_uni_stream(ngx_connection_t *c, uint64_t type);

  12. ngx_int_t ngx_http_v3_cancel_stream(ngx_connection_t *c, ngx_uint_t stream_id);

  13. ngx_connection_t *ngx_http_v3_get_uni_stream(ngx_connection_t *c,
  14.     ngx_uint_t type);
  15. ngx_int_t ngx_http_v3_send_settings(ngx_connection_t *c);
  16. ngx_int_t ngx_http_v3_send_goaway(ngx_connection_t *c, uint64_t id);
  17. ngx_int_t ngx_http_v3_send_ack_section(ngx_connection_t *c,
  18.     ngx_uint_t stream_id);
  19. ngx_int_t ngx_http_v3_send_cancel_stream(ngx_connection_t *c,
  20.     ngx_uint_t stream_id);
  21. ngx_int_t ngx_http_v3_send_inc_insert_count(ngx_connection_t *c,
  22.     ngx_uint_t inc);


  23. #endif /* _NGX_HTTP_V3_UNI_H_INCLUDED_ */