This patch simply exports the http_get_path() function from the proto_http.c file.
unsigned int http_get_hdr(const struct http_msg *msg, const char *hname, int hlen,
struct hdr_idx *idx, int occ,
struct hdr_ctx *ctx, char **vptr, int *vlen);
+char *http_get_path(struct http_txn *txn);
struct http_txn *http_alloc_txn(struct stream *s);
void http_init_txn(struct stream *s);
* phase) and look for the "/" beginning the PATH. If not found, return NULL.
* It is returned otherwise.
*/
-static char *
-http_get_path(struct http_txn *txn)
+char *http_get_path(struct http_txn *txn)
{
char *ptr, *end;