src/http/v2/ngx_http_v2_module.h - nginx source code

Data types defined

Macros defined

Source code


  1. /*
  2. * Copyright (C) Nginx, Inc.
  3. * Copyright (C) Valentin V. Bartenev
  4. */


  5. #ifndef _NGX_HTTP_V2_MODULE_H_INCLUDED_
  6. #define _NGX_HTTP_V2_MODULE_H_INCLUDED_


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


  10. typedef struct {
  11.     size_t                          recv_buffer_size;
  12.     u_char                         *recv_buffer;
  13. } ngx_http_v2_main_conf_t;


  14. typedef struct {
  15.     size_t                          chunk_size;
  16. } ngx_http_v2_loc_conf_t;


  17. #endif /* _NGX_HTTP_V2_MODULE_H_INCLUDED_ */