summaryrefslogtreecommitdiff
path: root/src/libstrongswan/fetcher/fetcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/fetcher/fetcher.h')
-rw-r--r--src/libstrongswan/fetcher/fetcher.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstrongswan/fetcher/fetcher.h b/src/libstrongswan/fetcher/fetcher.h
index 890258c3c..6043dac2e 100644
--- a/src/libstrongswan/fetcher/fetcher.h
+++ b/src/libstrongswan/fetcher/fetcher.h
@@ -82,6 +82,12 @@ enum fetcher_option_t {
FETCH_TIMEOUT,
/**
+ * Sets a pointer to a variable that receives the request's response code.
+ * Additional argument is a u_int*.
+ */
+ FETCH_RESPONSE_CODE,
+
+ /**
* Callback to invoke with each chunk of data.
* Additional argument fetch_callback_t.
* If this option is not given, the fetcher_default_callback is used,