X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=blobdiff_plain;f=src%2Flibfast%2Frequest.h;h=dd3b568a4b1bedc7ff810d9eeef1514959e9aec4;hp=61e2d59f076b5e6dbe441708ac77041fa4965862;hb=a3920abb76707df5b743a687692c703729a313d8;hpb=d12ad4748a01cd17834e32081d3893bd97eef2b2 diff --git a/src/libfast/request.h b/src/libfast/request.h index 61e2d59..dd3b568 100644 --- a/src/libfast/request.h +++ b/src/libfast/request.h @@ -106,6 +106,13 @@ struct request_t { void (*redirect)(request_t *this, char *fmt, ...); /** + * Get the HTTP referer. + * + * @return HTTP referer + */ + char* (*get_referer)(request_t *this); + + /** * Redirect the client to the referer. */ void (*to_referer)(request_t *this);