[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Obtain GNUnet's default configuration (patch)
From: |
Christian Grothoff |
Subject: |
Re: Obtain GNUnet's default configuration (patch) |
Date: |
Tue, 14 Jul 2020 15:56:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hi Alessio,
patch looks OK, I've applied it to Git master.
Happy hacking!
Christian
On 7/3/20 10:51 PM, Alessio Vanni wrote:
> Hello,
>
> as the subject of this mail says, the attached patch implements a
> function to obtain the default configuration used by GNUnet.
>
> The main purpose is a convenience for applications using
> `GNUNET_OS_init' to change the project data. After changing the project
> data it's impossible to obtain GNUnet's configuration without manually
> examining the filesystem and that can become a problem when the
> application needs to connect to GNUnet's own services
> (e.g. gnunet-service-cadet.)
>
> With this new function applications can retrieve the configuration even
> after calling `GNUNET_OS_init' (or at any other point in time, really.)
>
> Please review it so I can fix anything if needed.
>
> Thanks,
> A.V.
>
0x939E6BE1E29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature