libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] Passing data into MHD_start_daemon


From: Gavin Henry
Subject: [libmicrohttpd] Passing data into MHD_start_daemon
Date: Fri, 17 Dec 2021 16:47:23 +0000

Hi all,

At 
https://github.com/SentryPeer/SentryPeer/blob/99a5b5be48c788d9e5f4177725babc5a97e8f37e/src/http_daemon.c#L135

I'm looking to pass in sentrypeer_config const *config, and am using
dh_cls to pick off cls in:

https://github.com/SentryPeer/SentryPeer/blob/99a5b5be48c788d9e5f4177725babc5a97e8f37e/src/http_daemon.c#L56

Is that the correct way? It looks like I should be using **ptr at:

https://github.com/SentryPeer/SentryPeer/blob/99a5b5be48c788d9e5f4177725babc5a97e8f37e/src/http_daemon.c#L59

But how do I set that in MHD_start_daemon()

Thanks.


-- 
Kind Regards,

Gavin Henry.
https://sentrypeer.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]