/*
 * Copyright (C) 2018 Tesla Government
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

#ifndef _NGX_HTTP_AUTH_JWT_HEADER_PROCESSING_H
#define _NGX_HTTP_AUTH_JWT_HEADER_PROCESSING_H

ngx_table_elt_t* search_headers_in(ngx_http_request_t *r, u_char *name, size_t len);
ngx_int_t set_request_header(ngx_http_request_t *r, ngx_str_t *key, ngx_str_t *value);
ngx_int_t set_response_header(ngx_http_request_t *r, ngx_str_t *key, ngx_str_t *value);
ngx_int_t set_header(ngx_table_elt_t *h, ngx_str_t *key, ngx_str_t *value);

#endif /* _NGX_HTTP_AUTH_JWT_HEADER_PROCESSING_H */