Re: Removal of GNUNET_CONFIGURATION_default() in 0.23

2024-12-10 Thread Alessio Vanni
Hello, (for some reason I didn't receive Christian's e-mail, so I'm replying here for both.) I'm not using the GNUnet configuration as my own, I always initialized the application using GNUNET_OS_init with application-specific values. The test.c file I attached to my first e-mail does do that t

Re: Removal of GNUNET_CONFIGURATION_default() in 0.23

2024-12-10 Thread Martin Schanzenbach via Mailinglist for GNUnet developers
To say it a bit more bluntly: Using the GNUnet configuration as your own application's configuration was never a good idea. After all, none of the paths actually belong to your application and you probably should not mess with any of those. This is why you should pass your applications own Project

Re: Removal of GNUNET_CONFIGURATION_default() in 0.23

2024-12-10 Thread Christian Grothoff
Dear Alessio, The idea is that programs like your should do two things: 1) implement their own 'project data' and point it to their own resources, and use that for GNUNET_PROGRAM_run(). The configuration you are given is then purely the configuration for your project. 2) when you do need to

Removal of GNUNET_CONFIGURATION_default() in 0.23

2024-12-10 Thread Alessio Vanni
Hello, GNUnet 0.23 changed the way GNUNET_OS_ProjectData is used, moving it from being global state to a function parameter in commit 9ab62c62c3d508033d31ea5289013255ec7a0c87. The same commit also removes the GNUNET_CONFIGURATION_default function to return a new configuration object with GNU