diff options
author | Nils Gillmann <ng0@n0.is> | 2018-06-14 18:46:06 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-06-14 18:46:06 +0000 |
commit | 2bc8eb9778631235aa868a2f9766e62c602fa0ce (patch) | |
tree | d1204c018365b70a5a6f68b598ee98327ef605c8 /src/include/gnunet_curl_lib.h | |
parent | 07edbcab2e3915e8898680d38596537c128b10dc (diff) | |
parent | 8602fa51ea946d552a3c6e18e6c4a92caefee34e (diff) | |
download | gnunet-2bc8eb9778631235aa868a2f9766e62c602fa0ce.tar.gz gnunet-2bc8eb9778631235aa868a2f9766e62c602fa0ce.zip |
Merge branch 'master' of gnunet.org:gnunet
Diffstat (limited to 'src/include/gnunet_curl_lib.h')
-rw-r--r-- | src/include/gnunet_curl_lib.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_curl_lib.h b/src/include/gnunet_curl_lib.h index 17e9aeea4..2b2442a52 100644 --- a/src/include/gnunet_curl_lib.h +++ b/src/include/gnunet_curl_lib.h | |||
@@ -99,6 +99,17 @@ GNUNET_CURL_get_select_info (struct GNUNET_CURL_Context *ctx, | |||
99 | 99 | ||
100 | 100 | ||
101 | /** | 101 | /** |
102 | * Add custom request header. | ||
103 | * | ||
104 | * @param ctx cURL context. | ||
105 | * @param header header string; will be given to the context AS IS. | ||
106 | * @return #GNUNET_OK if no errors occurred, #GNUNET_SYSERR otherwise. | ||
107 | */ | ||
108 | int | ||
109 | GNUNET_CURL_append_header (struct GNUNET_CURL_Context *ctx, | ||
110 | const char *header); | ||
111 | |||
112 | /** | ||
102 | * Run the main event loop for the CURL interaction. | 113 | * Run the main event loop for the CURL interaction. |
103 | * | 114 | * |
104 | * @param ctx the library context | 115 | * @param ctx the library context |