Hi Martin, I will begin by reviewing the mentioned sections in gnunet_service_lib.h and understanding how the service initialization differs when HAVE_GNUNET_MONOLITH is set.
I have successfully installed GNUnet from the source tree. Before I proceed, are there any additional resources or pieces of advice you’d recommend? Thanks, Ammar On Tue, 5 Mar 2024 at 19:30 Martin Schanzenbach <mschanzenb...@posteo.de> wrote: > Ammar Al-Morsi <ammaralmo...@gmail.com> writes: > > Hi Ammar, > > some source code pointers: Usually the GNUnet service processes are > started using > a service macro (instead of a standard main). > It can be found here: > > https://git.gnunet.org/gnunet.git/tree/src/include/gnunet_service_lib.h#n366 > > Notice how it is already preprared that this macro can be changed using > a define when compiling (HAVE_GNUNET_MONOLITH). > If that is set, then the service initialization is different. > Essentially, this is where the single-process hook comes into play. > The corresponding source code is found in > > https://git.gnunet.org/gnunet.git/tree/src/include/gnunet_service_lib.h#n366 > . > > That code is unfinished for GNUNET_SERVICE_register_ and we need to > define a GNUNET_service_main() or GNUNET_main() look for everything to > work together. > > Best > Martin > > > Dear GNUnet Team, > > > > I am Ammar Almorsi. I am interested in the *Single-process peer* project, > > and I am looking forward to your guidance. > > I can start by installing the project following the instructions > > <https://docs.gnunet.org/latest/installing.html> on the official website > > and reading the Developer Handbook > > <https://docs.gnunet.org/latest/developers/index.html>. > > > > Thanks > > Ammar > > > > ---------- Forwarded message --------- > > From: Ammar Al-Morsi <ammaralmo...@gmail.com> > > Date: Tue, Mar 5, 2024 at 6:04 PM > > Subject: Re: [gnu-soc] Interest in GNUnet GSoC Project: Single-process > peer > > To: Schanzenbach, Martin <mschanzenb...@posteo.de> > > > > > > Thanks Martin for reaching out. > > > > > > On Tue, Mar 5, 2024 at 5:35 PM Schanzenbach, Martin < > mschanzenb...@posteo.de> > > wrote: > > > >> Hi Ammar, > >> > >> thank you for your interest in this topic. > >> This is an important medium-term goal for GNUnet. > >> Please use the gnunet-developers@gnu.org mailing list for discussions > on > >> the task itself. > >> > >> Some groundwork has already been laid, but the last few miles and > >> testing are still open. > >> > >> Best > >> Martin > >> > >> On 05.03.24 14:14, Ammar Al-Morsi wrote: > >> > Dear GNU Community, > >> > > >> > I am Ammar Almorsi, a student at Cairo University, passionate about > >> > network programming and operating systems. I'm eager to contribute to > >> > the "GNUnet/Single-process peer" project for Google Summer of Code. > >> > > >> > My GitHub profile:https://github.com/ammaralmorsi > >> > <https://github.com/ammaralmorsi> > >> > > >> > Related Projects I have worked on before: > >> > > >> > Real-Time Process Scheduler Simulator: Github link > >> > <https://github.com/ammaralmorsi/real-time-os-scheduler> > >> > DNS Message Parser: Github link > >> > <https://github.com/ammaralmorsi/dns-msg-parser> > >> > > >> > Looking forward to your response. > >> > > >> > Best, > >> > Ammar > >> >