Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.13.12 ]​[ nginx-1.12.2 ]​

0001 
0002 /*
0003  * Copyright (C) Roman Arutyunyan
0004  * Copyright (C) Nginx, Inc.
0005  */
0006 
0007 
0008 #ifndef _NGX_PROXY_PROTOCOL_H_INCLUDED_
0009 #define _NGX_PROXY_PROTOCOL_H_INCLUDED_
0010 
0011 
0012 #include <ngx_config.h>
0013 #include <ngx_core.h>
0014 
0015 
0016 #define NGX_PROXY_PROTOCOL_MAX_HEADER  107
0017 
0018 
0019 u_char *ngx_proxy_protocol_read(ngx_connection_t *c, u_char *buf,
0020     u_char *last);
0021 u_char *ngx_proxy_protocol_write(ngx_connection_t *c, u_char *buf,
0022     u_char *last);
0023 
0024 
0025 #endif /* _NGX_PROXY_PROTOCOL_H_INCLUDED_ */