blob: 811a7ebb6da46d52735ec7ac178a65ac7cb96edd [file] [log] [blame]
Tim Duesterhusdbd25c32021-04-15 21:45:55 +02001/*
2 * include/haproxy/uri_normalizer.h
3 * HTTP request URI normalization.
4 *
5 * Copyright 2021 Tim Duesterhus <tim@bastelstu.be>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
11 *
12 */
13
14#ifndef _HAPROXY_URI_NORMALIZER_H
15#define _HAPROXY_URI_NORMALIZER_H
16
Tim Duesterhusd371e992021-04-15 21:45:58 +020017#include <import/ist.h>
18
Tim Duesterhus0ee1ad52021-04-15 21:45:56 +020019#include <haproxy/uri_normalizer-t.h>
20
Tim Duesterhus560e1a62021-04-15 21:46:00 +020021enum uri_normalizer_err uri_normalizer_path_dotdot(const struct ist path, int full, struct ist *dst);
Tim Duesterhusd371e992021-04-15 21:45:58 +020022enum uri_normalizer_err uri_normalizer_path_merge_slashes(const struct ist path, struct ist *dst);
23
Tim Duesterhusdbd25c32021-04-15 21:45:55 +020024#endif /* _HAPROXY_URI_NORMALIZER_H */
25
26/*
27 * Local variables:
28 * c-indent-level: 8
29 * c-basic-offset: 8
30 * End:
31 */