From 0e8e63c8199417d9c920e1a6b9a2a90ef4e595de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 25 Jan 2023 21:16:56 +0800 Subject: Writes/reads to/from a cookie file --- interchange.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'interchange.h') diff --git a/interchange.h b/interchange.h index 91a2222..7503edf 100644 --- a/interchange.h +++ b/interchange.h @@ -40,9 +40,11 @@ extern "C" { * \brief A function that needs to be run first. * \param sampleurl The value of the SAMPLEURL setting in products/variable.txt. * \param image_dir The value of the IMAGE_DIR setting in products/variable.txt. + * \param certificate Path to the cookie file. * \param certificate Path to the CA certificate file. */ -void interchange_init(const char *sampleurl, const char *image_dir, const char *certificate); +void interchange_init(const char *sampleurl, const char *image_dir, + const char *cookie, const char *certificate); /*! * \brief For fetching data about products that belong a specific group. -- cgit v1.2.3